mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/flagutil: typo fix in comment to ArrayInt.GetOptionalArgOrDefault() func
This commit is contained in:
parent
fdf9de98f8
commit
e79799a784
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ func (a *ArrayInt) Set(value string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// GetOptionalArg returns optional arg under the given argIdx.
|
||||
// GetOptionalArgOrDefault returns optional arg under the given argIdx.
|
||||
func (a *ArrayInt) GetOptionalArgOrDefault(argIdx int, defaultValue int) int {
|
||||
x := *a
|
||||
if argIdx < len(x) {
|
||||
|
|
Loading…
Reference in a new issue