Skip to content

Commit acbe498

Browse files
committed
fix other add statement
1 parent 142fe19 commit acbe498

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/apimachinery/pkg/api/resource

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func negativeScaleInt64(base int64, scale Scale) (result int64, exact bool) {
196196
if base > 0 {
197197
value++
198198
} else {
199-
value += -1
199+
value--
200200
}
201201
}
202202
return value, !fraction

0 commit comments

Comments
 (0)