Skip to content

Commit

Permalink
fix: lint line too long
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu committed Sep 27, 2024
1 parent 8b15c34 commit 10a667e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cmd/cel-shed/p2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ var p2pConnectBootstrappersCmd = &cobra.Command{
}

func init() {
p2pConnectBootstrappersCmd.Flags().BoolVar(&errorOnAnyFailure, "err-any", false, "Return error if at least one bootstrapper is not reachable")
p2pConnectBootstrappersCmd.Flags().BoolVar(&errorOnAllFailure, "err-all", false, "Return error if no bootstrapper is reachable")
p2pConnectBootstrappersCmd.Flags().BoolVar(
&errorOnAnyFailure, "err-any", false,
"Return error if at least one bootstrapper is not reachable",
)
p2pConnectBootstrappersCmd.Flags().BoolVar(
&errorOnAllFailure, "err-all", false,
"Return error if no bootstrapper is reachable",
)
}

0 comments on commit 10a667e

Please sign in to comment.