We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5deb69a commit 842f232Copy full SHA for 842f232
internal/orchestrator/orchestrator.go
@@ -897,15 +897,9 @@ func CloneApp(
897
898
func DeleteApp(ctx context.Context, dockerClient command.Cli, app app.ArduinoApp) error {
899
900
- runningApp, err := getRunningApp(ctx, dockerClient.Client())
901
- if err != nil {
902
- return err
903
- }
904
- if runningApp != nil && runningApp.FullPath.EqualsTo(app.FullPath) {
905
- // We try to remove docker related resources at best effort
906
- for range StopAndDestroyApp(ctx, dockerClient, app) {
907
- // just consume the iterator
908
+ // We try to remove docker related resources at best effort
+ for range StopAndDestroyApp(ctx, dockerClient, app) {
+ // just consume the iterator
909
}
910
911
return app.FullPath.RemoveAll()
0 commit comments