Skip to content

Commit

Permalink
Dismiss 'gosec' G115 alert.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Oct 31, 2024
1 parent 51c3cc1 commit 460453a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (c *config) parse() {
"URL of InfluxDB or Telegraf in form of 'http://username:password@host:port/db'.")
flag.BoolVar(&c.dropPeers, "drop-peers", false,
"Drop peers storage before node start.")
flag.UintVar(&c.dbFileDescriptors, "db-file-descriptors", uint(state.DefaultOpenFilesCacheCapacity),
flag.UintVar(&c.dbFileDescriptors, "db-file-descriptors", uint(state.DefaultOpenFilesCacheCapacity), // #nosec:G115
"Maximum allowed file descriptors count that will be used by state database.")
flag.IntVar(&c.newConnectionsLimit, "new-connections-limit", defaultNewConnectionLimit,
"Number of new outbound connections established simultaneously, defaults to 10. Should be positive. "+
Expand Down

0 comments on commit 460453a

Please sign in to comment.