[dynamic-source-ami] fix lint error

This commit is contained in:
Chris Lundquist 2016-08-21 00:07:58 +00:00
parent 3d6cf56715
commit 57e7a1a3e6
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ func (s *StepRunSourceInstance) Run(state multistep.StateBag) multistep.StepActi
state.Put("error", fmt.Errorf(
"The provided source AMI has an invalid root device type.\n"+
"Expected '%s', got '%s'.",
s.ExpectedRootDevice, image.RootDeviceType))
s.ExpectedRootDevice, *image.RootDeviceType))
return multistep.ActionHalt
}