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

Try to capitalize when determining container status in topology #2337

Merged
merged 1 commit into from Oct 11, 2017

Conversation

skateman
Copy link
Member

It seems like Container#state can be nil sometimes and it throws and error when the topology capitalizes it. In other topology services we fixed this by using try, so here will be the same...

Spotted by @tbielawa, fixes #1275
https://bugzilla.redhat.com/show_bug.cgi?id=1500401

@miq-bot
Copy link
Member

miq-bot commented Oct 10, 2017

Checked commit skateman@1f4b61e with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 🍪

@mzazrivec mzazrivec added this to the Sprint 71 Ending Oct 16, 2017 milestone Oct 11, 2017
@mzazrivec mzazrivec merged commit b7abed0 into ManageIQ:master Oct 11, 2017
@skateman skateman deleted the container-capitalize branch October 11, 2017 07:58
@mzazrivec mzazrivec assigned mzazrivec and unassigned himdel Oct 11, 2017
@mzazrivec mzazrivec removed the fine/no label Oct 13, 2017
simaishi pushed a commit that referenced this pull request Nov 14, 2017
Try to capitalize when determining container status in topology
(cherry picked from commit b7abed0)

https://bugzilla.redhat.com/show_bug.cgi?id=1501897
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit a1a48ee5d73d591ea88250df8dc282db67f75db7
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Wed Oct 11 09:57:19 2017 +0200

    Merge pull request #2337 from skateman/container-capitalize
    
    Try to capitalize when determining container status in topology
    (cherry picked from commit b7abed040acf1442ccedb56176e73fec45d31fc0)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1501897

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Topology - getting error on Clouds and Networks topology screens
5 participants