Merge pull request #4341 from rahart/f-chroot-snapshots-crash

amazon-chroot builder snapshot interface panic
This commit is contained in:
Rickard von Essen
2017-01-01 22:13:11 +01:00
committed by GitHub
+6
View File
@@ -71,6 +71,12 @@ func (s *StepSnapshot) Run(state multistep.StateBag) multistep.StepAction {
}
state.Put("snapshot_id", s.snapshotId)
snapshots := map[string][]string{
*ec2conn.Config.Region: {s.snapshotId},
}
state.Put("snapshots", snapshots)
return multistep.ActionContinue
}