forked from TrueCloudLab/frostfs-node
[#285] lint: Fix revive/unused-parameter
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
57718bd6b4
commit
f07e2d4812
19 changed files with 32 additions and 32 deletions
|
@ -159,7 +159,7 @@ func (s *Server) enableNotarySupport() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (s *Server) initNotaryConfig(cfg *viper.Viper) {
|
||||
func (s *Server) initNotaryConfig() {
|
||||
s.mainNotaryConfig, s.sideNotaryConfig = notaryConfigs(
|
||||
s.morphClient.ProbeNotary(),
|
||||
!s.withoutMainNet && s.mainnetClient.ProbeNotary(), // if mainnet disabled then notary flag must be disabled too
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue