Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glossary: Define "set" and "unset" #861

Closed
wants to merge 1 commit into from

Conversation

wking
Copy link
Contributor

@wking wking commented May 26, 2017

There seems to be confusion about whether the empty string (and possible other values that match Go's zero values) qualifies as "set" or not. This commit clarifies that Go zero values are not relevant to the spec, but it does not address how they should be handled (I'm leaving that to follow-up work).

@wking
Copy link
Contributor Author

wking commented May 31, 2017

Something like this needs to be part of 1.0.0 if we want to clarify empty-string handling for cgroupsPath (about which @Mashimiao and I are currently disagreeing) in the 1.x releases. Adding clear “set to a Go zero value” wording post-1.0 would be a breaking change for either @Mashimiao or me depending on the post-1.0 clarification.

There seems to be confusion about whether the empty string (and
possible other values that match Go's zero values) qualifies as "set"
or not [1].  This commit clarifies that Go zero values are not
relevant to the spec, but it does not address how they should be
handled (I'm leaving that to follow-up work).

[1]: opencontainers#823 (comment)

Signed-off-by: W. Trevor King <wking@tremily.us>
@wking wking force-pushed the define-set-and-unset branch from 4a8ac77 to 87f66dc Compare June 1, 2017 15:32
@wking
Copy link
Contributor Author

wking commented Jun 1, 2017

Rebased around #846 with 4a8ac7787f66dc.

@mrunalp
Copy link
Contributor

mrunalp commented Jun 1, 2017

I don't think we want to define set/unset.

@mrunalp mrunalp closed this Jun 1, 2017
@wking
Copy link
Contributor Author

wking commented Jun 1, 2017 via email

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.

2 participants