-
Notifications
You must be signed in to change notification settings - Fork 1.8k
String flag cannot be set to "-1" #1092
Copy link
Copy link
Closed
Labels
area/v1relates to / is being considered for v1relates to / is being considered for v1kind/bugdescribes or fixes a bugdescribes or fixes a bugpinnedshould not be marked staleshould not be marked stalestatus/in-reviewneeds to be reviewed by maintainers before it is acceptedneeds to be reviewed by maintainers before it is accepted
Milestone
Metadata
Metadata
Assignees
Labels
area/v1relates to / is being considered for v1relates to / is being considered for v1kind/bugdescribes or fixes a bugdescribes or fixes a bugpinnedshould not be marked staleshould not be marked stalestatus/in-reviewneeds to be reviewed by maintainers before it is acceptedneeds to be reviewed by maintainers before it is accepted
my urfave/cli version is
v1.22.1, v1.22.2, v1.22.3 (broken since v1.22.2)
Checklist
Dependency Management
Describe the bug
This flag can be set to "-1" on v1.22.1 but cannot be set since v1.22.2.
https://github.com/opencontainers/runc/blob/be51398a8af0b32b0b580e4da069cc6f704639bf/update.go#L111-L114
Regression in v1.22.1...v1.22.2
To reproduce
Specify
urfave/cliversion ingo.modin the runc tree, rungo mod tidy,go mod vendor, andmake integration.Observed behavior
Expected behavior
It should not fail.
Additional context
opencontainers/runc#2268 (comment)
Run
go versionand paste its output hereFor vendoring:
For running the containerized test suite: