Skip to content

Commit

Permalink
bump sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Aug 1, 2023
1 parent b75c10f commit 150900a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apstra/connectivity_template/primitive.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (o tfCfgPrimitive) rehydrate(_ context.Context, path path.Path, diags *diag
switch pType {
case apstra.CtPrimitivePolicyTypeNameAttachSingleVlan:
jsonPrimitive = new(vnSinglePrototype)
case apstra.CtPrimitivePolicyTypeNameAttachMultipleVLAN:
case apstra.CtPrimitivePolicyTypeNameAttachMultipleVlan:
jsonPrimitive = new(vnMultiplePrototype)
case apstra.CtPrimitivePolicyTypeNameAttachLogicalLink:
jsonPrimitive = new(ipLinkPrototype)
Expand Down Expand Up @@ -112,7 +112,7 @@ func PrimitiveFromSdk(ctx context.Context, in *apstra.ConnectivityTemplatePrimit
switch in.Attributes.PolicyTypeName() {
case apstra.CtPrimitivePolicyTypeNameAttachSingleVlan:
primitive = new(VnSingle)
case apstra.CtPrimitivePolicyTypeNameAttachMultipleVLAN:
case apstra.CtPrimitivePolicyTypeNameAttachMultipleVlan:
primitive = new(VnMultiple)
case apstra.CtPrimitivePolicyTypeNameAttachLogicalLink:
primitive = new(IpLink)
Expand Down
2 changes: 1 addition & 1 deletion apstra/connectivity_template/vn_multiple.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (o VnMultiple) Marshal(ctx context.Context, diags *diag.Diagnostics) string
}

data, err = json.Marshal(&tfCfgPrimitive{
PrimitiveType: apstra.CtPrimitivePolicyTypeNameAttachMultipleVLAN.String(),
PrimitiveType: apstra.CtPrimitivePolicyTypeNameAttachMultipleVlan.String(),
Data: data,
})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/IBM/netaddr v1.5.0
github.com/Juniper/apstra-go-sdk v0.0.0-20230729185839-413a3d8aadfd
github.com/Juniper/apstra-go-sdk v0.0.0-20230801124116-78482286e91a
github.com/chrismarget-j/go-licenses v0.0.0-20230424163011-d60082a506e0
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/terraform-plugin-docs v0.13.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/IBM/netaddr v1.5.0 h1:IJlFZe1+nFs09TeMB/HOP4+xBnX2iM/xgiDOgZgTJq0=
github.com/IBM/netaddr v1.5.0/go.mod h1:DDBPeYgbFzoXHjSz9Jwk7K8wmWV4+a/Kv0LqRnb8we4=
github.com/Juniper/apstra-go-sdk v0.0.0-20230729185839-413a3d8aadfd h1:42bDhMbWIeAP50B+dx75vLfpyP0/LzaE8WajhLjDuOQ=
github.com/Juniper/apstra-go-sdk v0.0.0-20230729185839-413a3d8aadfd/go.mod h1:/bOt1ftHy9phf3PPgxMH5d/41S3N9xpxzeOj8JMLh2E=
github.com/Juniper/apstra-go-sdk v0.0.0-20230801124116-78482286e91a h1:2MQASu0+FglJB8HwJ4lmmMNWaBfztdwimXf8xDG20dU=
github.com/Juniper/apstra-go-sdk v0.0.0-20230801124116-78482286e91a/go.mod h1:/bOt1ftHy9phf3PPgxMH5d/41S3N9xpxzeOj8JMLh2E=
github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
Expand Down

0 comments on commit 150900a

Please sign in to comment.