chore: fix lint issues on osc builder
This commit is contained in:
parent
56807553fc
commit
09f57537bf
|
@ -78,7 +78,6 @@ func waitForState(errCh chan<- error, target string, refresh stateRefreshFunc) {
|
|||
return false, nil
|
||||
})
|
||||
errCh <- err
|
||||
return
|
||||
}
|
||||
|
||||
func waitUntilOscVmStateFunc(conn *osc.APIClient, id string) stateRefreshFunc {
|
||||
|
|
|
@ -130,7 +130,7 @@ func (s *StepSecurityGroup) Run(_ context.Context, state multistep.StateBag) mul
|
|||
|
||||
ui.Say(fmt.Sprintf("Authorizing access to port %d from %s in the temporary security group...", port, s.TemporarySGSourceCidr))
|
||||
|
||||
conn.SecurityGroupRuleApi.CreateSecurityGroupRule(context.Background(), &osc.CreateSecurityGroupRuleOpts{
|
||||
_, _, err = conn.SecurityGroupRuleApi.CreateSecurityGroupRule(context.Background(), &osc.CreateSecurityGroupRuleOpts{
|
||||
CreateSecurityGroupRuleRequest: optional.NewInterface(createSGRReq),
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue