-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,8 +155,8 @@ func NewResourceCPUIsolator(request, limit string) (*ResourceCPU, error) { | |
res := &ResourceCPU{ | ||
ResourceBase{ | ||
resourceValue{ | ||
Request: &req, | ||
Limit: &lim, | ||
Request: req, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jonboulle
Contributor
|
||
Limit: lim, | ||
}, | ||
}, | ||
} | ||
|
@@ -209,8 +209,8 @@ func NewResourceMemoryIsolator(request, limit string) (*ResourceMemory, error) { | |
res := &ResourceMemory{ | ||
ResourceBase{ | ||
resourceValue{ | ||
Request: &req, | ||
Limit: &lim, | ||
Request: req, | ||
Limit: lim, | ||
}, | ||
}, | ||
} | ||
|
I am very confused. the k8s that you vendored in #607 returns a value, you want a pointer, so that PR adapted by taking the address here. This PR undoes it? How does it compile?