Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Apr 29, 2024
1 parent d6a95bf commit 487a716
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lke_clusters_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type LKEClusterControlPlaneACLAddresses struct {
// LKEClusterControlPlaneACL describes the ACL configuration
// for an LKE cluster's control plane.
type LKEClusterControlPlaneACL struct {
Enabled bool `json:"enabled,omitempty"`
Addresses LKEClusterControlPlaneACLAddresses `json:"addresses,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Addresses *LKEClusterControlPlaneACLAddresses `json:"addresses,omitempty"`
}

// LKEClusterControlPlaneACLUpdateOptions represents the options
Expand Down
2 changes: 1 addition & 1 deletion test/integration/lke_clusters_acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestLKECluster_withACL(t *testing.T) {
options.ControlPlane = &linodego.LKEClusterControlPlane{
ACL: &linodego.LKEClusterControlPlaneACL{
Enabled: true,
Addresses: linodego.LKEClusterControlPlaneACLAddresses{
Addresses: &linodego.LKEClusterControlPlaneACLAddresses{
IPv4: []string{"10.0.0.1/32"},
IPv6: []string{"1234::5678"},
},
Expand Down

0 comments on commit 487a716

Please sign in to comment.