Skip to content

Commit 09298d4

Browse files
committed
Fix nothing to compare mixup on string args
1 parent cc0bcfd commit 09298d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/status/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func compareStats(stat, comparisonStat, comparisonRef, goal string) (state, stri
3636
// IMPORTANT: the current stat needs to be the first thing in the description
3737
// because that's how we will parse it back off
3838
if comparisonStat == "" {
39-
return stateError, fmt.Sprintf("%s - nothing to compare on %s (stat is either new or being processed simultaneously)", comparisonRef, stat), nil
39+
return stateError, fmt.Sprintf("%s - nothing to compare on %s (stat is either new or being processed simultaneously)", stat, comparisonRef), nil
4040
}
4141

4242
statNum, statUnits, err := parse.ParseStatNumber(stat)

0 commit comments

Comments
 (0)