forked from TrueCloudLab/frostfs-node
[#1] Fix comments and error messages
Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
This commit is contained in:
parent
c761a95eef
commit
cb016d53a6
96 changed files with 167 additions and 167 deletions
|
@ -24,7 +24,7 @@ type executorSvc struct {
|
|||
// about current node state.
|
||||
type NodeState interface {
|
||||
// Must return current node state
|
||||
// in NeoFS API v2 NodeInfo structure.
|
||||
// in FrostFS API v2 NodeInfo structure.
|
||||
LocalNodeInfo() (*netmap.NodeInfo, error)
|
||||
|
||||
// ReadCurrentNetMap reads current local network map of the storage node
|
||||
|
@ -34,9 +34,9 @@ type NodeState interface {
|
|||
}
|
||||
|
||||
// NetworkInfo encapsulates source of the
|
||||
// recent information about the NeoFS network.
|
||||
// recent information about the FrostFS network.
|
||||
type NetworkInfo interface {
|
||||
// Must return recent network information in NeoFS API v2 NetworkInfo structure.
|
||||
// Must return recent network information in FrostFS API v2 NetworkInfo structure.
|
||||
//
|
||||
// If protocol version is <=2.9, MillisecondsPerBlock and network config should be unset.
|
||||
Dump(versionsdk.Version) (*netmapSDK.NetworkInfo, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue