Skip to content

Commit

Permalink
Fixing snapshot_id override to work for set as well as get
Browse files Browse the repository at this point in the history
  • Loading branch information
temujin9 committed Sep 17, 2012
1 parent 006d3fd commit 62b8a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ironfan/dsl/volume.rb
Expand Up @@ -29,7 +29,7 @@ class Volume < Ironfan::Dsl
:blank_xfs => 'snap-d9c1edb1',
})

def snapshot_id
def snapshot_id(id)
Chef::Log.warn("CODE SMELL: EBS specific information in Dsl::Volume::VOLUME_IDS")
super || VOLUME_IDS[snapshot_name]
end
Expand Down

0 comments on commit 62b8a78

Please sign in to comment.