Skip to content

Commit

Permalink
node: add "none" to disable watcher (#3718)
Browse files Browse the repository at this point in the history
  • Loading branch information
bingyuyap authored Jan 17, 2024
1 parent 60a9370 commit c7756f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/node/url_verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func RegisterFlagWithValidationOrFail(cmd *cobra.Command, name string, descripti

// Perform validation after flags are parsed
cobra.OnInitialize(func() {
if *flagValue == "" {
if *flagValue == "" || *flagValue == "none" {
return
}

Expand Down

0 comments on commit c7756f8

Please sign in to comment.