-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Print recognized file extensions in resource builder error #13482
Conversation
@kubernetes/kubectl |
GCE e2e build/test failed for commit a5f5e5ef2aaa2020866783d32f590a035a3d0534. |
Labelling this PR as size/XS |
@k8s-bot test this please |
GCE e2e build/test failed for commit a5f5e5ef2aaa2020866783d32f590a035a3d0534. |
Continuous integration appears to have missed, closing and re-opening to trigger it |
LGTM |
@@ -32,6 +32,8 @@ import ( | |||
"k8s.io/kubernetes/pkg/util/errors" | |||
) | |||
|
|||
var schemaFileExtensions = []string{".json", ".stdin", ".yaml", ".yml"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would have expected this list to be shared with the bit creates content assist for the --filenames
flag in the commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't know what bit you are referring to. Link to code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, phone won't let me paste, but its in bash_comp_utils.go where the filename flag is registered. It adds a hint for locating files with the right extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
a5f5e5e
to
1720ce8
Compare
GCE e2e build/test failed for commit 1720ce874af1047f2cda366124dc1690961cc47c. |
1720ce8
to
cb65cfa
Compare
Labelling this PR as size/M |
GCE e2e build/test failed for commit cb65cfa. |
@deads2k ptal. Added |
GCE e2e build/test passed for commit cb65cfa. |
Removing LGTM since there were changes after it was given. |
lgtm |
Print recognized file extensions in resource builder error
closes #13450