Skip to content

Commit

Permalink
step_public_ip: fix state.Put "publicip_id"
Browse files Browse the repository at this point in the history
Fix #159
  • Loading branch information
outscale-mgo committed Oct 10, 2023
1 parent 9856c59 commit af41092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/osc/common/step_public_ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (s *StepPublicIp) Run(_ context.Context, state multistep.StateBag) multiste

// Set some data for use in future steps
s.publicIpId = *resp.GetPublicIp().PublicIpId
state.Put("publicip_id", resp.PublicIp.PublicIpId)
state.Put("publicip_id", *resp.GetPublicIp().PublicIpId)

return multistep.ActionContinue
}
Expand Down

0 comments on commit af41092

Please sign in to comment.