fix: ensure the vector container does not exit when no configured sinks are in place
This commit is contained in:
@@ -104,6 +104,11 @@ func CommandVectorLogs() error {
|
||||
func CommandVectorStart(vectorImage string) error {
|
||||
common.LogInfo2("Starting vector container")
|
||||
if !common.ContainerExists(vectorContainerName) {
|
||||
common.LogVerbose("Ensuring vector configuration exists")
|
||||
if err := writeVectorConfig(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return startVectorContainer(vectorImage)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user