Skip to content

Commit ea5ce51

Browse files
committed
fix stash
1 parent d873d3a commit ea5ce51

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

internal/services/baremetal/server.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,28 +54,11 @@ func ResourceServer() *schema.Resource {
5454
Description: "Hostname of the server",
5555
},
5656
"offer": {
57-
<<<<<<< Updated upstream
58-
Type: schema.TypeString,
59-
Required: true,
60-
ForceNew: true,
61-
Description: "ID or name of the server offer",
62-
DiffSuppressFunc: func(_, oldValue, newValue string, d *schema.ResourceData) bool {
63-
// remove the locality from the IDs when checking diff
64-
if locality.ExpandID(newValue) == locality.ExpandID(oldValue) {
65-
return true
66-
}
67-
// if the offer was provided by name
68-
offerName, ok := d.GetOk("offer_name")
69-
70-
return ok && newValue == offerName
71-
},
72-
=======
7357
Type: schema.TypeString,
7458
Required: true,
7559
ForceNew: true,
7660
Description: "ID or name of the server offer",
7761
ValidateDiagFunc: verify.IsUUIDOrNameOffer(),
78-
>>>>>>> Stashed changes
7962
},
8063
"offer_id": {
8164
Type: schema.TypeString,

0 commit comments

Comments
 (0)