[#9999] adm: Drop rpc-endpoint flag from zombie scan
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 1m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m24s
DCO action / DCO (pull_request) Successful in 1m43s
Tests and linters / Staticcheck (pull_request) Successful in 2m36s
Tests and linters / Lint (pull_request) Successful in 2m40s
Build / Build Components (pull_request) Successful in 2m52s
Tests and linters / gopls check (pull_request) Failing after 3m14s
Tests and linters / Tests (pull_request) Successful in 4m23s
Tests and linters / Tests with -race (pull_request) Successful in 4m32s
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 1m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m24s
DCO action / DCO (pull_request) Successful in 1m43s
Tests and linters / Staticcheck (pull_request) Successful in 2m36s
Tests and linters / Lint (pull_request) Successful in 2m40s
Build / Build Components (pull_request) Successful in 2m52s
Tests and linters / gopls check (pull_request) Failing after 3m14s
Tests and linters / Tests (pull_request) Successful in 4m23s
Tests and linters / Tests with -race (pull_request) Successful in 4m32s
Morph addresses from config are used. Change-Id: I6b93c638a1366ad952e5210569c6d9d9a9c35889 Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
26a94a767a
commit
0886241ee0
1 changed files with 0 additions and 2 deletions
|
@ -32,7 +32,6 @@ var (
|
||||||
Short: "Scan storage engine for zombie objects and move them to quarantine",
|
Short: "Scan storage engine for zombie objects and move them to quarantine",
|
||||||
Long: "",
|
Long: "",
|
||||||
PreRun: func(cmd *cobra.Command, _ []string) {
|
PreRun: func(cmd *cobra.Command, _ []string) {
|
||||||
_ = viper.BindPFlag(commonflags.EndpointFlag, cmd.Flags().Lookup(commonflags.EndpointFlag))
|
|
||||||
_ = viper.BindPFlag(commonflags.ConfigFlag, cmd.Flags().Lookup(commonflags.ConfigFlag))
|
_ = viper.BindPFlag(commonflags.ConfigFlag, cmd.Flags().Lookup(commonflags.ConfigFlag))
|
||||||
_ = viper.BindPFlag(commonflags.ConfigDirFlag, cmd.Flags().Lookup(commonflags.ConfigDirFlag))
|
_ = viper.BindPFlag(commonflags.ConfigDirFlag, cmd.Flags().Lookup(commonflags.ConfigDirFlag))
|
||||||
_ = viper.BindPFlag(walletFlag, cmd.Flags().Lookup(walletFlag))
|
_ = viper.BindPFlag(walletFlag, cmd.Flags().Lookup(walletFlag))
|
||||||
|
@ -89,7 +88,6 @@ func init() {
|
||||||
func initScanCmd() {
|
func initScanCmd() {
|
||||||
Cmd.AddCommand(scanCmd)
|
Cmd.AddCommand(scanCmd)
|
||||||
|
|
||||||
scanCmd.Flags().StringP(commonflags.EndpointFlag, commonflags.EndpointFlagShort, "", commonflags.EndpointFlagDesc)
|
|
||||||
scanCmd.Flags().StringP(commonflags.ConfigFlag, commonflags.ConfigFlagShorthand, "", commonflags.ConfigFlagUsage)
|
scanCmd.Flags().StringP(commonflags.ConfigFlag, commonflags.ConfigFlagShorthand, "", commonflags.ConfigFlagUsage)
|
||||||
scanCmd.Flags().String(commonflags.ConfigDirFlag, "", commonflags.ConfigDirFlagUsage)
|
scanCmd.Flags().String(commonflags.ConfigDirFlag, "", commonflags.ConfigDirFlagUsage)
|
||||||
scanCmd.Flags().Uint32(flagBatchSize, 1000, flagBatchSizeUsage)
|
scanCmd.Flags().Uint32(flagBatchSize, 1000, flagBatchSizeUsage)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue