Applying proper formatting
This commit is contained in:
parent
c8626b6455
commit
abe9e15052
|
@ -388,7 +388,7 @@ func (l *Lustre2) GetLustreProcStats(fileglob string, wanted_fields []*mapping,
|
|||
|
||||
for _, wanted := range wanted_fields {
|
||||
var data uint64
|
||||
if strings.TrimSuffix(parts[0],":") == wanted.inProc {
|
||||
if strings.TrimSuffix(parts[0], ":") == wanted.inProc {
|
||||
wanted_field := wanted.field
|
||||
// if not set, assume field[1]. Shouldn't be field[0], as
|
||||
// that's a string
|
||||
|
|
Loading…
Reference in New Issue