Skip to content

Commit

Permalink
IP change case
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Nov 3, 2023
1 parent 073f95b commit 21ea518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/instance_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (r *InstanceResource) Read(ctx context.Context, req resource.ReadRequest, r

ic, err := r.client(ctx, model, time.Second*15)
if err != nil {
resp.Diagnostics.AddWarning("Unable to connect to AEM instance", fmt.Sprintf("%s", err))
tflog.Info(ctx, "Cannot read AEM instance state as it is not possible to connect at the moment. Possible reasons: machine IP change is in progress, machine is not yet created or booting up, etc.")
} else {
defer func(ic *InstanceClient) {
err := ic.Close()
Expand Down

0 comments on commit 21ea518

Please sign in to comment.