Skip to content

Conversation

@mlaventure
Copy link
Contributor

Signed-off-by: Kenfe-Mickael Laventure mickael.laventure@gmail.com

@dqminh
Copy link
Contributor

dqminh commented Apr 27, 2017

LGTM

Approved with PullApprove

update.go Outdated
*pair.dest = uint64(v)
}
}
if val := context.String("pids-limit"); val != "" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context.Int()?

update.go Outdated
Name: "memory-swap",
Usage: "Total memory usage (memory + swap); set '-1' to enable unlimited swap",
},
cli.StringFlag{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cli.IntFlag

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want int64 though, it doesn't exist unfortunately hence why the others are using StringFlag

@crosbymichael
Copy link
Member

@mlaventure update test is broken

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
@mlaventure
Copy link
Contributor Author

ping @crosbymichael :)

@cyphar
Copy link
Member

cyphar commented Apr 28, 2017

LGTM

Approved with PullApprove

@crosbymichael
Copy link
Member

crosbymichael commented Apr 28, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit efb2bc3 into opencontainers:master Apr 28, 2017
@mlaventure mlaventure deleted the update-pids-limit branch May 1, 2017 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants