diff --git a/specs-go/config.go b/specs-go/config.go index 015e032d0..fa26f87c1 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -272,7 +272,7 @@ type CPU struct { // CPU shares (relative weight (ratio) vs. other cgroups with cpu shares). Shares *uint64 `json:"shares,omitempty"` // CPU hardcap limit (in usecs). Allowed cpu time in a given period. - Quota *uint64 `json:"quota,omitempty"` + Quota *int64 `json:"quota,omitempty"` // CPU period to be used for hardcapping (in usecs). Period *uint64 `json:"period,omitempty"` // How much time realtime scheduling may use (in usecs).