Skip to content

Commit

Permalink
Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Oct 29, 2023
1 parent 2fcb09a commit d05c0f1
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 @@ -273,7 +273,7 @@ func (r *InstanceResource) Read(ctx context.Context, req resource.ReadRequest, r
}

ic, err := r.Client(ctx, model, time.Second*15)
if err == nil {
if err != nil {
resp.Diagnostics.AddWarning("Unable to connect to AEM instance", fmt.Sprintf("%s", err))
} else {
defer func(ic *InstanceClient) {
Expand Down

0 comments on commit d05c0f1

Please sign in to comment.