Skip to content

Commit

Permalink
fix: provider events condition rule
Browse files Browse the repository at this point in the history
Signed-off-by: eduardodbr <[email protected]>
  • Loading branch information
eduardodbr authored and drakkan committed May 24, 2024
1 parent f6dc7f7 commit 2c09107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sftpgo/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -2593,7 +2593,7 @@ func (c *ruleConditions) toSFTPGo(ctx context.Context) (client.EventRuleConditio
}
}
if !c.ProviderEvents.IsNull() {
diags := c.FsEvents.ElementsAs(ctx, &conditions.ProviderEvents, false)
diags := c.ProviderEvents.ElementsAs(ctx, &conditions.ProviderEvents, false)
if diags.HasError() {
return conditions, diags
}
Expand Down

0 comments on commit 2c09107

Please sign in to comment.