From 01ac5dc97fe858fb4cbd6a6f3d02c2a5f17b5f64 Mon Sep 17 00:00:00 2001 From: Emilio Garcia Date: Tue, 30 Mar 2021 14:19:07 -0400 Subject: [PATCH] Ports NetworkID json typo The json argument is `networkId` when the standard naming scheme for fields ending in ID dictates that it should be named `networkID`. --- pkg/apis/openstackproviderconfig/v1alpha1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/openstackproviderconfig/v1alpha1/types.go b/pkg/apis/openstackproviderconfig/v1alpha1/types.go index 3e8b56614b..a7ac9a3fa8 100644 --- a/pkg/apis/openstackproviderconfig/v1alpha1/types.go +++ b/pkg/apis/openstackproviderconfig/v1alpha1/types.go @@ -200,7 +200,7 @@ type SubnetFilter struct { } type PortOpts struct { - NetworkID string `json:"networkId" required:"true"` + NetworkID string `json:"networkID" required:"true"` NameSuffix string `json:"nameSuffix" required:"true"` Description string `json:"description,omitempty"` AdminStateUp *bool `json:"adminStateUp,omitempty"`