(ctx context.Context, resource *schema.Resource)
| 123 | } |
| 124 | |
| 125 | func (tl *transactionEventLogger) CreateContext(ctx context.Context, resource *schema.Resource) error { |
| 126 | err := tl.Transaction.CreateContext(ctx, resource) |
| 127 | if err != nil { |
| 128 | return err |
| 129 | } |
| 130 | return tl.logEvent(ctx, "create", resource, 1) |
| 131 | } |
| 132 | |
| 133 | func (tl *transactionEventLogger) Update(resource *schema.Resource) error { |
| 134 | return tl.UpdateContext(context.Background(), resource) |
no test coverage detected