Skip to content

Commit

Permalink
Please the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmaidak committed Jun 26, 2024
1 parent 751bad4 commit baa94da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/devices/retrieve.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *Client) Retrieve() *cobra.Command {
if deviceID != "" {
device, _, err := c.Service.FindDeviceById(context.Background(), deviceID).Include(c.Servicer.Includes(nil)).Exclude(c.Servicer.Excludes(nil)).Execute()
if err != nil {
return fmt.Errorf("Could not get Devices: %w", err)
return fmt.Errorf("could not get Devices: %w", err)
}
devices = append(devices, *device)
} else {
Expand Down Expand Up @@ -91,7 +91,7 @@ func (c *Client) Retrieve() *cobra.Command {

resp, err := request.ExecuteWithPagination()
if err != nil {
return fmt.Errorf("Could not list Devices: %w", err)
return fmt.Errorf("could not list Devices: %w", err)
}
devices = append(devices, resp.Devices...)
}
Expand Down

0 comments on commit baa94da

Please sign in to comment.