From c761a95eefb7bd9109f730d765f3a94e70256504 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Fri, 3 Feb 2023 19:58:09 +0300 Subject: [PATCH] [#1] Fix project name in control service Signed-off-by: Stanislav Bogatyrev --- pkg/services/control/ir/service.pb.go | Bin 14560 -> 14559 bytes pkg/services/control/ir/service_grpc.pb.go | Bin 3854 -> 3853 bytes pkg/services/control/ir/types.pb.go | Bin 7764 -> 7763 bytes pkg/services/control/server/server.go | 2 +- .../control/server/set_netmap_status.go | 2 +- pkg/services/control/service.go | 6 +++--- pkg/services/control/service.pb.go | Bin 111710 -> 111715 bytes pkg/services/control/service.proto | 8 ++++---- pkg/services/control/service_grpc.pb.go | Bin 18213 -> 18216 bytes pkg/services/control/types.go | 6 +++--- pkg/services/control/types.pb.go | Bin 29375 -> 29388 bytes pkg/services/control/types.proto | 14 +++++++------- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pkg/services/control/ir/service.pb.go b/pkg/services/control/ir/service.pb.go index 9e79c1f569186e24a6bf8cb8f2ee03f718ad868f..d3826c61f71d5236c4b2d199a3fd3a34dae1b458 100644 GIT binary patch delta 15 WcmaD*c)xH$E{ma&p2^0dJPQCgz6LP> delta 16 Xcmca#_@Hn?E~}BDo}tmk!aNHAJ`@IE diff --git a/pkg/services/control/ir/service_grpc.pb.go b/pkg/services/control/ir/service_grpc.pb.go index b6bc6fdbab92a728650c6f0303caf92e56f7887a..92751b61498ae709f60a1e525be573833e41cf0e 100644 GIT binary patch delta 15 WcmeB^>y?{O%VKDxXR@)WhYtWKIt2Rw delta 16 XcmeB`>yw*M%W7n(XK1vsv4;-;ELH_7 diff --git a/pkg/services/control/ir/types.pb.go b/pkg/services/control/ir/types.pb.go index b6dd755e59d86945792420b48becfe080c4f02c7..79e0f2903dc5c5f824e873fbca020b3fd6ec7104 100644 GIT binary patch delta 15 Wcmca&bJ=D>E{ma&p2^0dN3sAi*#-yz delta 16 Xcmca?bH!#tE~}BDo}tmk!bh?IH?0OY diff --git a/pkg/services/control/server/server.go b/pkg/services/control/server/server.go index 5b454b667..0b4453885 100644 --- a/pkg/services/control/server/server.go +++ b/pkg/services/control/server/server.go @@ -19,7 +19,7 @@ type Server struct { // HealthChecker is component interface for calculating // the current health status of a node. type HealthChecker interface { - // Must calculate and return current status of the node in NeoFS network map. + // Must calculate and return current status of the node in FrostFS network map. // // If status can not be calculated for any reason, // control.netmapStatus_STATUS_UNDEFINED should be returned. diff --git a/pkg/services/control/server/set_netmap_status.go b/pkg/services/control/server/set_netmap_status.go index 738b23836..5225b41f6 100644 --- a/pkg/services/control/server/set_netmap_status.go +++ b/pkg/services/control/server/set_netmap_status.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/status" ) -// SetNetmapStatus sets node status in NeoFS network. +// SetNetmapStatus sets node status in FrostFS network. // // If request is unsigned or signed by disallowed key, permission error returns. func (s *Server) SetNetmapStatus(ctx context.Context, req *control.SetNetmapStatusRequest) (*control.SetNetmapStatusResponse, error) { diff --git a/pkg/services/control/service.go b/pkg/services/control/service.go index 1bf273360..dd349dc57 100644 --- a/pkg/services/control/service.go +++ b/pkg/services/control/service.go @@ -7,7 +7,7 @@ func (x *HealthCheckRequest) SetBody(v *HealthCheckRequest_Body) { } } -// SetNetmapStatus sets status of the storage node in NeoFS network map. +// SetNetmapStatus sets status of the storage node in FrostFS network map. func (x *HealthCheckResponse_Body) SetNetmapStatus(v NetmapStatus) { if x != nil { x.NetmapStatus = v @@ -28,7 +28,7 @@ func (x *HealthCheckResponse) SetBody(v *HealthCheckResponse_Body) { } } -// SetStatus sets new storage node status in NeoFS network map. +// SetStatus sets new storage node status in FrostFS network map. func (x *SetNetmapStatusRequest_Body) SetStatus(v NetmapStatus) { if x != nil { x.Status = v @@ -54,7 +54,7 @@ func (x *SetNetmapStatusResponse) SetBody(v *SetNetmapStatusResponse_Body) { } } -// SetAddressList sets list of objects to be removed in NeoFS API binary format. +// SetAddressList sets list of objects to be removed in FrostFS API binary format. func (x *DropObjectsRequest_Body) SetAddressList(v [][]byte) { if x != nil { x.AddressList = v diff --git a/pkg/services/control/service.pb.go b/pkg/services/control/service.pb.go index 87b3a6c06f8ec7fcc00a1e18ea5ba1c6c4745752..1e25d95d8c106025f090c70d9072955fb0f39ff0 100644 GIT binary patch delta 54 zcmccjg6;7Owh6f`hDLfO8;hPbvAPxI7nf{~ZuVn`GS_t3@Isi)ucvQ+J)N;w1^|8r B7Y+ab delta 49 zcmaF-g6-Z5wh6hcMuvKZMjH#CH8K08=5LN^_G1S#)_2+Pf*8#orf>f+ov~O300lS{ AfdBvi diff --git a/pkg/services/control/service.proto b/pkg/services/control/service.proto index 5eda7d02f..18adc8ed5 100644 --- a/pkg/services/control/service.proto +++ b/pkg/services/control/service.proto @@ -11,7 +11,7 @@ service ControlService { // Performs health check of the storage node. rpc HealthCheck (HealthCheckRequest) returns (HealthCheckResponse); - // Sets status of the storage node in NeoFS network map. + // Sets status of the storage node in FrostFS network map. rpc SetNetmapStatus (SetNetmapStatusRequest) returns (SetNetmapStatusResponse); // Mark objects to be removed from node's local object storage. @@ -56,7 +56,7 @@ message HealthCheckRequest { message HealthCheckResponse { // Health check response body message Body { - // Status of the storage node in NeoFS network map. + // Status of the storage node in FrostFS network map. NetmapStatus netmap_status = 1; // Health status of storage node application. @@ -74,7 +74,7 @@ message HealthCheckResponse { message SetNetmapStatusRequest { // Set netmap status request body. message Body { - // New storage node status in NeoFS network map. + // New storage node status in FrostFS network map. // If status is MAINTENANCE, the node checks whether maintenance is // allowed in the network settings. In case of prohibition, the request // is denied. Otherwise, node switches to local maintenance state. To @@ -112,7 +112,7 @@ message DropObjectsRequest { // Request body structure. message Body { // List of object addresses to be removed. - // in NeoFS API binary format. + // in FrostFS API binary format. repeated bytes address_list = 1; } diff --git a/pkg/services/control/service_grpc.pb.go b/pkg/services/control/service_grpc.pb.go index 7ed9526e016eb6d9f5b3f03b0b3ada356f4fc880..77f43e314e5a8c7f1470823621eb932b37bbf1e6 100644 GIT binary patch delta 47 zcmZ45$GD=8aY8MNp^=`+#-=J}R=1-3;*!n(nVUo)%*p?ml_npT^V9i%T|FF-;JIFemd$ZiWgTmXu?JGM`A5z?ji8 SanexHJ?2sDP^P5)GGhQPD