Skip to content

Commit 7d39392

Browse files
committed
ignore if there is no compose dir on restart
1 parent ed018fc commit 7d39392

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

framework/observability.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,10 @@ func ObservabilityUpFull() error {
173173

174174
func ObservabilityDown() error {
175175
L.Info().Msg("Removing local observability stack")
176-
err := RunCommand("bash", "-c", fmt.Sprintf(`
176+
_ = RunCommand("bash", "-c", fmt.Sprintf(`
177177
cd %s && \
178178
docker compose down -v && docker rm -f promtail
179179
`, "compose"))
180-
if err != nil {
181-
return err
182-
}
183-
return RunCommand("bash", "-c", "rm -rf compose/")
180+
_ = RunCommand("bash", "-c", "rm -rf compose/")
181+
return nil
184182
}

0 commit comments

Comments
 (0)