Skip to content

Commit

Permalink
Initialize VolumeCreate._snapshot to None.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfoti committed Sep 18, 2015
1 parent 91be28d commit e03915d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starcluster/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def __init__(self, ec2_conn, spot_bid=None, keypair=None,
self._mkfs_cmd = mkfs_cmd
self._resizefs_cmd = resizefs_cmd
self._alias_tmpl = "volhost-%s"
self._snapshot = None
super(VolumeCreator, self).__init__(
ec2_conn=ec2_conn, spot_bid=spot_bid, keyname=keypair,
key_location=key_location, cluster_tag=static.VOLUME_GROUP_NAME,
Expand Down

0 comments on commit e03915d

Please sign in to comment.