This commit is contained in:
Jesse Haka 2018-08-29 14:28:07 +03:00
parent 7062cd5700
commit c4ff3d0593

View File

@ -114,7 +114,7 @@ func (i *Instances) InstanceExistsByProviderID(ctx context.Context, providerID s
return false, err
}
_, err := servers.Get(i.compute, instanceID).Extract()
_, err = servers.Get(i.compute, instanceID).Extract()
if err != nil {
if isNotFound(err) {
return false, nil