Skip to content

Commit

Permalink
ensure freshness of k8s resource after creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvthongswansea committed Jan 7, 2025
1 parent 47f27d1 commit 719c8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gridscale/resource_gridscale_k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ func resourceGridscaleK8sCreate(d *schema.ResourceData, meta interface{}) error
}
d.SetId(response.ObjectUUID)
log.Printf("The id for PaaS service %s has been set to %v", requestBody.Name, response.ObjectUUID)
return nil //resourceGridscaleK8sRead(d, meta)
return resourceGridscaleK8sRead(d, meta)
}

func resourceGridscaleK8sUpdate(d *schema.ResourceData, meta interface{}) error {
Expand Down

0 comments on commit 719c8ef

Please sign in to comment.