mirror of https://github.com/apache/jclouds.git
Use Status enum not value
This commit is contained in:
parent
a8e5938b6a
commit
d30f6548ee
|
@ -450,7 +450,7 @@ public abstract class BaseVCloudDirectorClientLiveTest extends BaseContextLiveTe
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shutdown and power off the VApp if necessary
|
// Shutdown and power off the VApp if necessary
|
||||||
if (vApp.getStatus().equals(Status.POWERED_ON.getValue())) {
|
if (vApp.getStatus() == Status.POWERED_ON) {
|
||||||
try {
|
try {
|
||||||
Task shutdownTask = vAppClient.shutdown(vAppURI);
|
Task shutdownTask = vAppClient.shutdown(vAppURI);
|
||||||
taskDoneEventually(shutdownTask);
|
taskDoneEventually(shutdownTask);
|
||||||
|
|
Loading…
Reference in New Issue