mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
tls: require mutual auth only when htpasswd not available
This commit is contained in:
@@ -360,7 +360,7 @@ func (is *ImageStore) PutImageManifest(repo string, reference string,
|
||||
// manifest contents have changed for the same tag
|
||||
desc = m
|
||||
desc.Digest = mDigest
|
||||
index.Manifests = append(index.Manifests[:i], index.Manifests[1+1:]...)
|
||||
index.Manifests = append(index.Manifests[:i], index.Manifests[i+1:]...)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user