Skip to content

Fix findbugs ClassCastException in UpgradeSystemVMCmd.java - #413

Closed
rsafonseca wants to merge 2 commits into
apache:masterfrom
rsafonseca:findbugs30
Closed

rsafonseca wants to merge 2 commits into
apache:masterfrom
rsafonseca:findbugs30

Conversation

@rsafonseca

Copy link
Copy Markdown
Contributor

UpgradeVMCmd.getDetails() is called from ManagementServerImpl.upgradeSystemVM() and would fail to run, as it would try to cast String to HashMap<String,String>

getDetails() isn't called anywhere in the code, either way, implementation is wrong since details is a Map<String, String> and not a Map<String, Map<String,String>>
If this piece of could would get run, it would just fail trying to cast String to HashMap<String,String> in line 83
@asfbot

asfbot commented Jun 14, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #389 FAILURE
Looks like there's a problem with this pull request

@asfbot

asfbot commented Jun 14, 2015

Copy link
Copy Markdown

cloudstack-pull-requests #392 SUCCESS
This pull request looks good

@asfgit asfgit closed this in a7a39a6 Jun 15, 2015
kishankavala pushed a commit to kishankavala/cloudstack that referenced this pull request Jun 25, 2015
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes apache#413
yadvr pushed a commit that referenced this pull request Jan 20, 2021
Fixes #381

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
benj-n added a commit to leaseweb/cloudstack that referenced this pull request Mar 24, 2023
… the capacity_state is Disabled (apache#7007)

Merge in CLOUD/cloudstack from 4.17.0-leaseweb_prometheus_exporter to 4.17.0-leaseweb

* commit '5df96348042d56bbb87022163cd9f24b7bee36ca':
  Ensure Prometheus doesn't return values when the capacity_state is Disabled (apache#7007)
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.

2 participants