cmd/storagenode: fix identity flag for graceful exit commands
Resolves https://github.com/storj/customer-issues/issues/780 Resolves https://github.com/storj/storj/issues/5807 Change-Id: I0af2b14f5b12ddc1e7a09afb2cf5ccf025f53502
This commit is contained in:
parent
98591f34f9
commit
bf8072d3f3
@ -45,7 +45,7 @@ func newGracefulExitInitCmd(f *Factory) *cobra.Command {
|
||||
Annotations: map[string]string{"type": "helper"},
|
||||
}
|
||||
|
||||
process.Bind(cmd, &cfg, f.Defaults, cfgstruct.ConfDir(f.ConfDir))
|
||||
process.Bind(cmd, &cfg, f.Defaults, cfgstruct.ConfDir(f.ConfDir), cfgstruct.IdentityDir(f.IdentityDir))
|
||||
|
||||
return cmd
|
||||
}
|
||||
@ -61,7 +61,7 @@ func newGracefulExitStatusCmd(f *Factory) *cobra.Command {
|
||||
Annotations: map[string]string{"type": "helper"},
|
||||
}
|
||||
|
||||
process.Bind(cmd, &cfg, f.Defaults, cfgstruct.ConfDir(f.ConfDir))
|
||||
process.Bind(cmd, &cfg, f.Defaults, cfgstruct.ConfDir(f.ConfDir), cfgstruct.IdentityDir(f.IdentityDir))
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user