forked from TrueCloudLab/frostfs-node
28777911fb
Add NetmapSnapshot rpc to ControlService protobuf definition. Recompile proto files. Add required method to server structure. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
12 lines
320 B
Go
12 lines
320 B
Go
package control
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/nspcc-dev/neofs-node/pkg/services/control"
|
|
)
|
|
|
|
// NetmapSnapshot reads network map snapshot from Netmap storage.
|
|
func (s *Server) NetmapSnapshot(ctx context.Context, req *control.NetmapSnapshotRequest) (*control.NetmapSnapshotResponse, error) {
|
|
panic("implement me")
|
|
}
|