Skip to content

Conversation

oxtoacart
Copy link
Collaborator

Add 'ListWithAllFields' to 'DevicesResource' to allow getting a device with all of its fields populated.

Updates tailscale/corp#23564

@oxtoacart oxtoacart requested a review from mpminardi March 10, 2025 14:00
Add 'ListWithAllFields' to 'DevicesResource' to allow getting a device with all of its fields populated.

Updates tailscale/corp#23564

Signed-off-by: Percy Wegmann <[email protected]>
}

func (dr *DevicesResource) list(ctx context.Context, all bool) ([]Device, error) {
func (dr *DevicesResource) list(ctx context.Context, allFields bool) ([]Device, error) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by

@oxtoacart oxtoacart merged commit 3a768d6 into main Mar 11, 2025
2 checks passed
@oxtoacart oxtoacart deleted the percy/corp23564-2 branch March 11, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants