diff options
Diffstat (limited to 'client/go/internal/admin/jvm/memory.go')
-rw-r--r-- | client/go/internal/admin/jvm/memory.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/go/internal/admin/jvm/memory.go b/client/go/internal/admin/jvm/memory.go index 2ace1f4ac88..8a51b1087ff 100644 --- a/client/go/internal/admin/jvm/memory.go +++ b/client/go/internal/admin/jvm/memory.go @@ -1,4 +1,4 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. // Author: arnej package jvm @@ -56,6 +56,7 @@ func (v AmountOfMemory) AsJvmSpec() string { } return fmt.Sprintf("%d%s", val, suffix) } + func (v AmountOfMemory) String() string { val := v.numBytes idx := 0 |