Skip to content

Commit a29245e

Browse files
committed
fix
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 2916c01 commit a29245e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudstack/resource_cloudstack_service_offering.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,14 +365,14 @@ func resourceCloudStackServiceOfferingUpdate(d *schema.ResourceData, meta interf
365365

366366
}
367367

368-
if d.HasChange("tags") {
368+
if d.HasChange("storage_tags") {
369369
log.Printf("[DEBUG] Tags changed for %s, starting update", name)
370370

371371
// Create a new parameter struct
372372
p := cs.ServiceOffering.NewUpdateServiceOfferingParams(d.Id())
373373

374374
// Set the new tags
375-
p.SetStoragetags(d.Get("tags").(string))
375+
p.SetStoragetags(d.Get("storage_tags").(string))
376376

377377
// Update the host tags
378378
_, err := cs.ServiceOffering.UpdateServiceOffering(p)

0 commit comments

Comments
 (0)