Skip to content

Commit

Permalink
Ignore lint lll error on server.FlagAPISwagger
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Feb 2, 2024
1 parent ccf630b commit 66670f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ which accepts a path for the resulting pprof file.
cmd.Flags().String(srvflags.AppDBBackend, "", "The type of database for application and snapshots databases")

cmd.Flags().Bool(server.FlagAPIEnable, false, "Define if the API server should be enabled")
cmd.Flags().Bool(server.FlagAPISwagger, false, "Define if swagger documentation should automatically be registered (Note: the API must also be enabled)")
cmd.Flags().Bool(server.FlagAPISwagger, false, "Define if swagger documentation should automatically be registered (Note: the API must also be enabled)") //nolint:lll
cmd.Flags().String(server.FlagAPIAddress, serverconfig.DefaultAPIAddress, "the API server address to listen on")
cmd.Flags().Uint(server.FlagAPIMaxOpenConnections, 1000, "Define the number of maximum open connections")
cmd.Flags().Uint(server.FlagRPCReadTimeout, 10, "Define the Tendermint RPC read timeout (in seconds)")
Expand Down

0 comments on commit 66670f0

Please sign in to comment.