Skip to content

Commit

Permalink
better diff message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyang0 committed May 25, 2024
1 parent 967a20f commit 7c4e58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func (p Plugin) getNodeResourceInfo(ctx context.Context, nodename string, worklo
continue
}
if count1 != count2 {
diffs = append(diffs, fmt.Sprintf("%s: %.2d != %.2d", prod, count1, count2))
diffs = append(diffs, fmt.Sprintf("%s: actual(%d) != usage(%d)", prod, count1, count2))
}
}

Expand Down

0 comments on commit 7c4e58c

Please sign in to comment.