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

Show correct image stream name on deploy image #976

Merged
merged 1 commit into from
Dec 2, 2016

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Dec 2, 2016

If I deploy from an image stream image and customize the app name, don't
change the image stream name in the summary header.

openshift_web_console

Fixes #973
@jwforres PTAL

@@ -73,7 +73,8 @@
administrator.
</div>
<h2>
{{app.name}}<span ng-if="import.tag">:{{import.tag}}</span>
<span ng-if="mode === 'dockerImage'">{{app.name}}<span ng-if="import.tag">:{{import.tag}}</span></span>
Copy link
Member

Choose a reason for hiding this comment

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

hmm does it make sense to be changing that header at all? isn't that header the name and metadata of the image?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah we can change it for the other case. The difference is that we will actually create an image stream tag with that value in your project for mode === 'dockerImage'

Copy link
Member

Choose a reason for hiding this comment

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

Do we have a line that tells you we will create an image stream? That seems like the right thing vs changing the name of the image that we loaded.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I'll update the PR

If I deploy from an image stream image and customize the app name, don't
change the image stream name in the summary header.
@spadgett spadgett force-pushed the fix-deploy-ist-title branch from 07261f2 to 55cf6b4 Compare December 2, 2016 18:18
@spadgett
Copy link
Member Author

spadgett commented Dec 2, 2016

@jwforres another look?

@jwforres
Copy link
Member

jwforres commented Dec 2, 2016

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 55cf6b4

@openshift-bot
Copy link

openshift-bot commented Dec 2, 2016

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/797/) (Base Commit: 9647628)

@openshift-bot openshift-bot merged commit 9e5a65b into openshift:master Dec 2, 2016
@spadgett spadgett deleted the fix-deploy-ist-title branch December 9, 2016 14: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.

3 participants