Skip to content

Commit

Permalink
Fix bad characters in lock name
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Jul 28, 2015
1 parent 9c5d283 commit fea7d86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class DockerStoragePoolVolumeCreateLock extends AbstractBlockingLockDefintion {

public DockerStoragePoolVolumeCreateLock(StoragePool storagePool, String volumeUri) {
super(String.format("DOCKER.STORAGE_POOL.VOLUME.CREATE.%s.%s", storagePool.getId(), volumeUri));
super(String.format("DOCKER.STORAGE_POOL.VOLUME.CREATE.%s.%s", storagePool.getId(), volumeUri == null ? 0 : volumeUri.hashCode()));
}

}

0 comments on commit fea7d86

Please sign in to comment.