Skip to content

Commit

Permalink
SCALRCORE-18531 > Exec fmt to prettify go altered file
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vang committed Mar 23, 2021
1 parent bbe5cc1 commit 6399aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalr/resource_scalr_endpoint.go
Expand Up @@ -116,7 +116,7 @@ func resourceScalrEndpointRead(d *schema.ResourceData, meta interface{}) error {
endpoint, err := scalrClient.Endpoints.Read(ctx, endpointID)
if err != nil {
if err == scalr.ErrResourceNotFound {
d.SetId("")
d.SetId("")
return nil
}
return fmt.Errorf("Error retrieving endpoint: %v", err)
Expand Down

0 comments on commit 6399aa9

Please sign in to comment.