Skip to content

Commit

Permalink
tailscale_device_subnet_routes: Fix confusing error message (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
clstokes committed Apr 24, 2023
1 parent e21e845 commit e806c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tailscale/resource_device_subnet_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func resourceDeviceSubnetRoutesRead(ctx context.Context, d *schema.ResourceData,

routes, err := client.DeviceSubnetRoutes(ctx, deviceID)
if err != nil {
return diagnosticsError(err, "Failed to fetch dns nameservers")
return diagnosticsError(err, "Failed to fetch device subnet routes")
}

if err = d.Set("routes", routes.Enabled); err != nil {
Expand Down

0 comments on commit e806c1b

Please sign in to comment.