Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Do not panic if EFS not found
Browse files Browse the repository at this point in the history
  • Loading branch information
izaaklauer committed Jul 5, 2023
1 parent 314efef commit a4dd181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runnerinstall/ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ func (i *ECSRunnerInstaller) Uninstall(ctx context.Context, opts *InstallOpts) e
}
}

if *fileSystemId == "" {
if fileSystemId == nil || *fileSystemId == "" {
s.Update("File system with tag key `runner-id` and value " + opts.Id + " not detected, skipping deletion")
s.Done()
return nil
Expand Down

0 comments on commit a4dd181

Please sign in to comment.