Applying proper formatting

This commit is contained in:
Jesse Hanley 2016-04-27 15:30:00 -04:00
parent c8626b6455
commit abe9e15052
2 changed files with 64 additions and 64 deletions

View File

@ -388,7 +388,7 @@ func (l *Lustre2) GetLustreProcStats(fileglob string, wanted_fields []*mapping,
for _, wanted := range wanted_fields { for _, wanted := range wanted_fields {
var data uint64 var data uint64
if strings.TrimSuffix(parts[0],":") == wanted.inProc { if strings.TrimSuffix(parts[0], ":") == wanted.inProc {
wanted_field := wanted.field wanted_field := wanted.field
// if not set, assume field[1]. Shouldn't be field[0], as // if not set, assume field[1]. Shouldn't be field[0], as
// that's a string // that's a string