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

Use template name instead of its label when creating/filtering a new app #98

Merged
merged 2 commits into from
Oct 23, 2018

Conversation

dirgim
Copy link
Collaborator

@dirgim dirgim commented Oct 22, 2018

Before this change, the new-app command used template label obtained in oc process json output instead of template's name since the name isn't shown in json output.
As the label doesn't have to be the same as the template's name (or exist at all), this change uses oc process --output=describe command in order to obtain the template's actual name so it can be used in further commands for building and filtering available templates.

Copy link
Member

@arilivigni arilivigni left a comment

Choose a reason for hiding this comment

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

Excellent change thanks!

Copy link
Member

@scoheb scoheb left a comment

Choose a reason for hiding this comment

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

LGTM

@dirgim
Copy link
Collaborator Author

dirgim commented Oct 23, 2018

[merge]

@adl-bot adl-bot merged commit 76fb37e into CentOS-PaaS-SIG:master Oct 23, 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.

None yet

4 participants