Skip to content

Commit 0bb5a81

Browse files
committed
use uint32
1 parent 5b4b7e3 commit 0bb5a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler/plugin/guest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ func (g *guest) permit(ctx context.Context) (*framework.Status, time.Duration) {
252252
}
253253

254254
statusCode := int32(callStack[0] >> 32)
255-
timeoutMilliSeconds := int32(callStack[0])
255+
timeoutMilliSeconds := uint32(callStack[0])
256256
statusReason := paramsFromContext(ctx).resultStatusReason
257257
return framework.NewStatus(framework.Code(statusCode), statusReason), time.Duration(timeoutMilliSeconds) * time.Millisecond
258258
}

0 commit comments

Comments
 (0)