rpc: Fix apemanager rpc service name #81

Merged
fyrchik merged 1 commit from aarifullin/frostfs-api-go:fix/rpc_apemanager into master 2024-05-06 12:19:53 +00:00
2 changed files with 9 additions and 2 deletions

View file

@ -6,7 +6,7 @@ import (
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common"
)
const serviceAPEManager = serviceNamePrefix + "apemanager.APEManagerService"
const serviceAPEManager = frostfsServiceNamePrefix + "apemanager.APEManagerService"
const (
rpcAPEManagerAddChain = "AddChain"

View file

@ -1,3 +1,10 @@
package rpc
const serviceNamePrefix = "neo.fs.v2."
const (
// serviceNamePrefix is still used in "old" services but should be
// considered as deprecated. Since new services use "frostfs" root,
// `frostfsServiceNamePrefix` must be used for their rpc interface.
serviceNamePrefix = "neo.fs.v2."
frostfsServiceNamePrefix = "frostfs.v2."
)