Skip to content

Commit 10b9a58

Browse files
0.3.5 version bump
1 parent a365cbf commit 10b9a58

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- Change `device_types` attributes in `catalystcenter_template` resource from `List` to `Set`
44
- Add `data_source` and `import` to `catalystcenter_assign_device_to_site` resource
5-
- Change `border_types` and `device_roles` attributes in `catalystcenter_fabric_device` resource from `List` to `Set`
5+
- Change `border_types` and `device_roles` attributes in `catalystcenter_fabric_device` resource from `List` to `Set`
66
- Replace `catalystcenter_deploy_template` resource when `params` attribute is changed
77

88
## 0.3.4

docs/guides/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: |-
1111

1212
- Change `device_types` attributes in `catalystcenter_template` resource from `List` to `Set`
1313
- Add `data_source` and `import` to `catalystcenter_assign_device_to_site` resource
14-
- Change `border_types` and `device_roles` attributes in `catalystcenter_fabric_device` resource from `List` to `Set`
14+
- Change `border_types` and `device_roles` attributes in `catalystcenter_fabric_device` resource from `List` to `Set`
1515
- Replace `catalystcenter_deploy_template` resource when `params` attribute is changed
1616

1717
## 0.3.4

gen/definitions/wireless_rf_profile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ data_source_no_id: true
66
skip_minimum_test: true
77
put_id: true
88
import_no_id: true
9+
mutex: true
910
res_description: This resource manages a Wireless RF Profile.
1011
doc_category: Wireless
1112
attributes:

internal/provider/resource_catalystcenter_wireless_rf_profile.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ func (r *WirelessRFProfileResource) Create(ctx context.Context, req resource.Cre
609609
body := plan.toBody(ctx, WirelessRFProfile{})
610610

611611
params := ""
612-
res, err := r.client.Post(plan.getPath()+params, body)
612+
res, err := r.client.Post(plan.getPath()+params, body, cc.UseMutex)
613613
if err != nil {
614614
resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to configure object (%s), got error: %s, %s", "POST", err, res.String()))
615615
return
@@ -691,7 +691,7 @@ func (r *WirelessRFProfileResource) Update(ctx context.Context, req resource.Upd
691691

692692
body := plan.toBody(ctx, state)
693693
params := ""
694-
res, err := r.client.Put(plan.getPath()+"/"+url.QueryEscape(plan.Id.ValueString())+params, body)
694+
res, err := r.client.Put(plan.getPath()+"/"+url.QueryEscape(plan.Id.ValueString())+params, body, cc.UseMutex)
695695
if err != nil {
696696
resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to configure object (PUT), got error: %s, %s", err, res.String()))
697697
return
@@ -717,7 +717,7 @@ func (r *WirelessRFProfileResource) Delete(ctx context.Context, req resource.Del
717717
}
718718

719719
tflog.Debug(ctx, fmt.Sprintf("%s: Beginning Delete", state.Id.ValueString()))
720-
res, err := r.client.Delete(state.getPath() + "/" + url.QueryEscape(state.Id.ValueString()))
720+
res, err := r.client.Delete(state.getPath()+"/"+url.QueryEscape(state.Id.ValueString()), cc.UseMutex)
721721
if err != nil && !strings.Contains(err.Error(), "StatusCode 404") {
722722
resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to delete object (DELETE), got error: %s, %s", err, res.String()))
723723
return

templates/guides/changelog.md.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: |-
1111

1212
- Change `device_types` attributes in `catalystcenter_template` resource from `List` to `Set`
1313
- Add `data_source` and `import` to `catalystcenter_assign_device_to_site` resource
14-
- Change `border_types` and `device_roles` attributes in `catalystcenter_fabric_device` resource from `List` to `Set`
14+
- Change `border_types` and `device_roles` attributes in `catalystcenter_fabric_device` resource from `List` to `Set`
1515
- Replace `catalystcenter_deploy_template` resource when `params` attribute is changed
1616

1717
## 0.3.4

0 commit comments

Comments
 (0)