Skip to content

Commit b6b6aaa

Browse files
authored
Merge pull request ContainX#10 from pjdarton/set-volume-name-shouldnt-set-migstatus
Volume.getMigrateStatus should return null by default
2 parents 9dbe21c + 01b1492 commit b6b6aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/openstack4j/openstack/storage/block/domain/CinderVolume.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public String getSnapshotId() {
179179
*/
180180
@Override
181181
public MigrationStatus getMigrateStatus() {
182-
return migrateStatus != null ? migrateStatus : MigrationStatus.NONE;
182+
return migrateStatus;
183183
}
184184

185185
/**

0 commit comments

Comments
 (0)