Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/clients/src/api/ipam/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const unmarshalIP = (data: unknown): IP => {
region: data.region,
resource: data.resource ? unmarshalResource(data.resource) : undefined,
reverses: unmarshalArrayOfObject(data.reverses, unmarshalReverse),
source: unmarshalSource(data.source),
source: data.source ? unmarshalSource(data.source) : undefined,
tags: data.tags,
updatedAt: unmarshalDate(data.updated_at),
zone: data.zone,
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/ipam/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export interface IP {
/** Date the IP was last modified. */
updatedAt?: Date
/** Source pool where the IP was booked in. */
source: Source
source?: Source
/** Resource which the IP is attached to. */
resource?: Resource
/** Tags for the IP. */
Expand Down