Skip to content

Commit 353b0c4

Browse files
committed
fix linter
1 parent 30186b9 commit 353b0c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/services/baremetal/helpers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,10 @@ func getOfferInformations(ctx context.Context, offer interface{}, id string, i i
232232
if err != nil {
233233
return nil, err
234234
}
235+
235236
if validation.IsUUID(regional.ExpandID(offer.(string)).ID) {
236237
offerID := regional.ExpandID(offer.(string))
238+
237239
return FindOfferByID(ctx, api, zone.Zone, offerID.ID)
238240
} else {
239241
return api.GetOfferByName(&baremetal.GetOfferByNameRequest{

0 commit comments

Comments
 (0)