Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit fea3c54

Browse files
Changed ManagedZoneObservation parameters to non-pointers
Signed-off-by: danielinclouds <[email protected]>
1 parent 542f994 commit fea3c54

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

apis/dns/v1alpha1/managed_zone_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ type ManagedZoneObservation struct {
7979

8080
// CreationTime: The time that this resource was created on the server.
8181
// This is in RFC3339 text format. Output only.
82-
CreationTime *string `json:"creationTime,omitempty"`
82+
CreationTime string `json:"creationTime,omitempty"`
8383

8484
// Id: Unique identifier for the resource; defined by the server (output only)
85-
ID *uint64 `json:"id,omitempty"`
85+
ID uint64 `json:"id,omitempty"`
8686

8787
// NameServers: Delegate your managed_zone to these virtual name
8888
// servers; defined by the server (output only)

apis/dns/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/clients/managedzone/managed_zone.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ func IsUpToDate(name string, spec *v1alpha1.ManagedZoneParameters, observed *dns
9292
// *ManagedZoneObservation.
9393
func GenerateManagedZoneObservation(observed *dns.ManagedZone) v1alpha1.ManagedZoneObservation {
9494
return v1alpha1.ManagedZoneObservation{
95-
CreationTime: &observed.CreationTime,
96-
ID: &observed.Id,
95+
CreationTime: observed.CreationTime,
96+
ID: observed.Id,
9797
NameServers: observed.NameServers,
9898
}
9999
}

0 commit comments

Comments
 (0)