Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Nov 1, 2023
1 parent b93f127 commit e4d7b4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/external_async_nofork.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (n *noForkAsyncExternal) Update(_ context.Context, mg xpresource.Managed) (
return managed.ExternalUpdate{}, nil
}

func (n *noForkAsyncExternal) Delete(ctx context.Context, mg xpresource.Managed) error {
func (n *noForkAsyncExternal) Delete(_ context.Context, mg xpresource.Managed) error {
if !n.opTracker.LastOperation.MarkStart("delete") {
return errors.Errorf("%s operation that started at %s is still running", n.opTracker.LastOperation.Type, n.opTracker.LastOperation.StartTime().String())
}
Expand Down
1 change: 0 additions & 1 deletion pkg/controller/nofork_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ type AsyncTracker struct {
LastOperation *terraform.Operation
logger logging.Logger
mu *sync.Mutex
tfID string
tfState *tfsdk.InstanceState
// lifecycle of certain external resources are bound to a parent resource's
// lifecycle, and they cannot be deleted without actually deleting
Expand Down

0 comments on commit e4d7b4e

Please sign in to comment.