Commit c6b0d945 authored by Geoff Simmons's avatar Geoff Simmons

Bugfix: bndl.HaveSecret() returns false if no bundle file is configured.

parent b8cebbe8
......@@ -230,6 +230,9 @@ func (bndl *Bundle) HaveSecret(ns, name, uid, version string) bool {
bndl.mtx.RLock()
defer bndl.mtx.RUnlock()
if bndl.File == nil {
return false
}
return bndl.File.HaveSecret(ns, name, uid, version)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment