From e03915d6f403160cfab2a4b8d7d3335b2066539b Mon Sep 17 00:00:00 2001 From: Nick Foti Date: Fri, 18 Sep 2015 10:10:06 -0700 Subject: [PATCH] Initialize VolumeCreate._snapshot to None. --- starcluster/volume.py | 1 + 1 file changed, 1 insertion(+) diff --git a/starcluster/volume.py b/starcluster/volume.py index 1ae2f507e..d0fa67380 100644 --- a/starcluster/volume.py +++ b/starcluster/volume.py @@ -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,