fix: properly fetch default vector image if none is passed
This commit is contained in:
@@ -104,7 +104,7 @@ func CommandVectorStart(vectorImage string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if vectorImage == "" {
|
if vectorImage == "" {
|
||||||
vectorImage = common.PropertyGet("logs", "--global", "vector-image")
|
vectorImage = common.PropertyGetDefault("logs", "--global", "vector-image", VectorImage)
|
||||||
}
|
}
|
||||||
|
|
||||||
if common.ContainerExists(vectorContainerName) {
|
if common.ContainerExists(vectorContainerName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user