Skip to content

Commit

Permalink
fix: changed trigger action to import
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Theuermann <[email protected]>
  • Loading branch information
mati007thm committed Dec 16, 2024
1 parent 7b3fd55 commit a007192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/integration_msdefender_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (r *integrationMsDefenderResource) Create(ctx context.Context, req resource

// trigger integration to gather results quickly after the first setup
// NOTE: we ignore the error since the integration state does not depend on it
_, err = r.client.TriggerAction(ctx, string(integration.Mrn), mondoov1.ActionTypeRunScan)
_, err = r.client.TriggerAction(ctx, string(integration.Mrn), mondoov1.ActionTypeRunImport)
if err != nil {
resp.Diagnostics.
AddWarning("Client Error",
Expand Down

0 comments on commit a007192

Please sign in to comment.