Skip to content

Commit 157fa61

Browse files
author
Joshua Reed
committed
Fixup id requirements.
1 parent fb22fe3 commit 157fa61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api/v1beta1/cloudstackcluster_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ type CloudStackIdentityReference struct {
4141

4242
type Network struct {
4343
// Cloudstack Network ID the cluster is built in.
44+
// +optional
4445
Id string `json:"id,omitempty"`
4546

4647
// Cloudstack Network Type the cluster is built in.
@@ -55,11 +56,11 @@ type Network struct {
5556
type Zone struct {
5657
// The Zone name.
5758
// + optional
58-
Name string `json:"name"`
59+
Name string `json:"name,omitempty"`
5960

6061
// The CS zone ID the cluster is built in.
6162
// + optional
62-
Id string `json:"iD"`
63+
Id string `json:"id,omitempty"`
6364

6465
// The network within the Zone to use.
6566
Network Network `json:"network"`

0 commit comments

Comments
 (0)