mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
lib/flagutil: typo fix in comment to ArrayInt.GetOptionalArgOrDefault() func
This commit is contained in:
parent
fdf9de98f8
commit
e79799a784
@ -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 New Issue
Block a user