feat: only warn if the vector container is stopped when fetching logs

Closes #4385
This commit is contained in:
Jose Diaz-Gonzalez
2021-02-07 21:03:04 -05:00
parent 87b90e96b6
commit c09dfb8ec8
2 changed files with 13 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ func CommandVectorLogs(lines int, tail bool) error {
}
if !common.ContainerIsRunning(vectorContainerName) {
return errors.New("Vector container is not running")
common.LogWarn("Vector container is not running")
}
common.LogInfo1Quiet("Vector container logs")