From 150900a87a2980e6aaa722c938046225c438a7fb Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Tue, 1 Aug 2023 13:22:08 -0400 Subject: [PATCH] bump sdk version --- apstra/connectivity_template/primitive.go | 4 ++-- apstra/connectivity_template/vn_multiple.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apstra/connectivity_template/primitive.go b/apstra/connectivity_template/primitive.go index 05fa975a..808b7651 100644 --- a/apstra/connectivity_template/primitive.go +++ b/apstra/connectivity_template/primitive.go @@ -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) @@ -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) diff --git a/apstra/connectivity_template/vn_multiple.go b/apstra/connectivity_template/vn_multiple.go index d3ced391..0b027221 100644 --- a/apstra/connectivity_template/vn_multiple.go +++ b/apstra/connectivity_template/vn_multiple.go @@ -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 { diff --git a/go.mod b/go.mod index e5620b59..065e29de 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index b90489c7..a0105ad3 100644 --- a/go.sum +++ b/go.sum @@ -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=