Skip to content

Commit

Permalink
[ignore] Update CHANGELOG.md for v1.1.0 release and fix missing param…
Browse files Browse the repository at this point in the history
…eter in mso_schema_template_contract_filter NewTemplateContractFilterRelationShip fct call.
  • Loading branch information
lhercot committed Apr 6, 2024
1 parent 1ecc01b commit 00958bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.1.0 (April 5, 2024)
BUG FIXES:
- Fix maximum TLS version to 1.3.

IMPROVEMENTS:
- Add attribute 'description' to a few applicable resources and data sources
- Add mso_schema_site_contract_service_graph_listener resource and data source to manage Azure CNC Contract Service Graph Load Balancer - Listeners and Rules (#256)
- Add missing Cloud APIC / CNC site parameters for mso_schema_site_service_graph module.

## 1.0.0 (December 6, 2023)
BREAKING CHANGE:
- Separating site and template level service graph provider from mso_schema_template_service_graph (#240)
Expand Down
4 changes: 2 additions & 2 deletions mso/resource_mso_schema_template_contract_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func resourceMSOTemplateContractFilterCreate(d *schema.ResourceData, m interface
}

path := createMSOTemplateContractFilterPath(templateName, contractName, getFilterRelationshipTypeMap()[filterType], "-")
filterStruct := models.NewTemplateContractFilterRelationShip("add", path, action, priority, filterRefMap, directives)
filterStruct := models.NewTemplateContractFilterRelationShip("add", path, action, priority, "", filterRefMap, directives)
_, err := msoClient.PatchbyID(fmt.Sprintf("api/v1/schemas/%s", schemaId), filterStruct)
if err != nil {
return err
Expand Down Expand Up @@ -299,7 +299,7 @@ func resourceMSOTemplateContractFilterUpdate(d *schema.ResourceData, m interface
}

path := createMSOTemplateContractFilterPath(templateName, d.Get("contract_name").(string), getFilterRelationshipTypeMap()[d.Get("filter_type").(string)], filterName)
filterStruct := models.NewTemplateContractFilterRelationShip("replace", path, action, priority, filterRefMap, directives)
filterStruct := models.NewTemplateContractFilterRelationShip("replace", path, action, priority, "", filterRefMap, directives)
_, err := msoClient.PatchbyID(fmt.Sprintf("api/v1/schemas/%s", schemaId), filterStruct)
if err != nil {
return err
Expand Down

0 comments on commit 00958bc

Please sign in to comment.