File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -259,8 +259,10 @@ func TestCPUPercentBasedOnUnboundedEnabled(t *testing.T) {
259
259
260
260
func TestWindowsMemoryReservationOption (t * testing.T ) {
261
261
// Testing sending a task to windows overriding MemoryReservation value
262
- rawHostConfigInput := docker.HostConfig {
263
- MemoryReservation : nonZeroMemoryReservationValue ,
262
+ rawHostConfigInput := dockercontainer.HostConfig {
263
+ Resources : dockercontainer.Resources {
264
+ MemoryReservation : nonZeroMemoryReservationValue ,
265
+ },
264
266
}
265
267
266
268
rawHostConfig , err := json .Marshal (& rawHostConfigInput )
@@ -272,10 +274,10 @@ func TestWindowsMemoryReservationOption(t *testing.T) {
272
274
Arn : "arn:aws:ecs:us-east-1:012345678910:task/c09f0188-7f87-4b0f-bfc3-16296622b6fe" ,
273
275
Family : "myFamily" ,
274
276
Version : "1" ,
275
- Containers : []* Container {
277
+ Containers : []* apicontainer. Container {
276
278
{
277
279
Name : "c1" ,
278
- DockerConfig : DockerConfig {
280
+ DockerConfig : apicontainer. DockerConfig {
279
281
HostConfig : strptr (string (rawHostConfig )),
280
282
},
281
283
},
You can’t perform that action at this time.
0 commit comments