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

Fix error messages for resources with default namespace #749

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

lblackstone
Copy link
Member

Proposed changes

Previous:

error: Plan apply failed: resource foo/%!s(MISSING) was not successfully created by the Kubernetes API server : Deployment.apps "foo" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string(nil), MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: empty selector is invalid for deployment

Fixed:

error: Plan apply failed: resource foo was not successfully created by the Kubernetes API server : Deployment.apps "foo" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string(nil), MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: empty selector is invalid for deployment

Related issues (optional)

Fix #735

@lblackstone lblackstone merged commit b026ef0 into master Aug 26, 2019
@pulumi-bot pulumi-bot deleted the lblackstone/fix-error-messages branch August 26, 2019 22:04
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.

Bad error message formatting
2 participants