Skip to content

Commit 30186b9

Browse files
committed
fix getOfferInformation
1 parent e78126b commit 30186b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/services/baremetal/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func getOfferInformations(ctx context.Context, offer interface{}, id string, i i
232232
if err != nil {
233233
return nil, err
234234
}
235-
if validation.IsUUID(offer.(string)) {
235+
if validation.IsUUID(regional.ExpandID(offer.(string)).ID) {
236236
offerID := regional.ExpandID(offer.(string))
237237
return FindOfferByID(ctx, api, zone.Zone, offerID.ID)
238238
} else {

0 commit comments

Comments
 (0)