fix: handle case where there are no apps

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-06 22:45:47 -05:00
parent 4c98cd922f
commit 2d841f47eb

View File

@@ -151,11 +151,7 @@ func valueToConfig(appName string, value string) (vectorSink, error) {
}
func writeVectorConfig() error {
apps, err := common.DokkuApps()
if err != nil {
return err
}
apps, _ := common.DokkuApps()
data := vectorConfig{
Sources: map[string]vectorSource{},
Sinks: map[string]vectorSink{},