Make build timestamp parsing errors clearer (#929)

This commit is contained in:
Milos Gajdos
2019-11-08 15:57:07 +00:00
committed by Asim Aslam
parent 68419cc024
commit 1ffa289d39
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ func (k *kubernetes) List() ([]*runtime.Service, error) {
for _, service := range deployments.Items {
buildTime, err := time.Parse(time.RFC3339, service.Metadata.Annotations["build"])
if err != nil {
log.Debugf("Runtime error parsing build time: %v", err)
log.Debugf("Runtime error parsing build time for %s: %v", service.Metadata.Name, err)
continue
}
// add the service to the list of services