logs should return for non existent services (#1906)

This commit is contained in:
Dominic Wong
2020-08-06 22:56:05 +01:00
committed by GitHub
parent 74907987d1
commit 835343d6a5
2 changed files with 5 additions and 0 deletions

View File

@@ -364,6 +364,7 @@ func (k *kubernetes) Logs(s *runtime.Service, options ...runtime.LogsOption) (ru
for _, record := range records {
kstream.Chan() <- record
}
kstream.Stop()
}()
return kstream, nil
}