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
a4ae945a79
commit
f0087f0dbb
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