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

Make empty excludes string more accurate #453

Merged
merged 1 commit into from
Apr 24, 2018
Merged

Conversation

nrb
Copy link
Contributor

@nrb nrb commented Apr 24, 2018

Fixes #444
Signed-off-by: Nolan Brubaker [email protected]

// list is empty.
func (ie *IncludesExcludes) ExcludesString() string {
return asString(ie.GetExcludes())
return asString(ie.GetExcludes(), "none")
Copy link
Contributor

Choose a reason for hiding this comment

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

Would <none> be better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, likely would. That would match the output of describe commands.

@ncdc
Copy link
Contributor

ncdc commented Apr 24, 2018

LGTM

@skriss
Copy link
Contributor

skriss commented Apr 24, 2018

LGTM!

@ncdc ncdc merged commit 18d6b23 into vmware-tanzu:master Apr 24, 2018
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.

3 participants