diff options
Diffstat (limited to 'skate/cmd')
-rw-r--r-- | skate/cmd/skate-resolve-journal-name/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/skate/cmd/skate-resolve-journal-name/main.go b/skate/cmd/skate-resolve-journal-name/main.go index 494b236..abbfa9b 100644 --- a/skate/cmd/skate-resolve-journal-name/main.go +++ b/skate/cmd/skate-resolve-journal-name/main.go @@ -58,6 +58,10 @@ func main() { return nil, err } } + // XXX: we do not need to do any lookup w/o container name anyway. + if *keepResolvedOnly && release.ContainerName == "" { + return nil, nil + } name := strings.ToLower(release.ContainerName) results := ms.Lookup(name, -1) if len(results) != 1 { |