chore: fix lint issues on osc builder

This commit is contained in:
Marin Salinas 2020-10-13 11:02:13 -05:00
parent 56807553fc
commit 09f57537bf
2 changed files with 1 additions and 2 deletions

View File

@ -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 {

View File

@ -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),
})