1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00

Fix a typo in producing error messages (#367)

This commit is contained in:
Joseph Schorr
2020-04-30 15:08:28 -04:00
committed by GitHub
parent 816b7a9ed3
commit 4a9fa4177a

View File

@@ -354,7 +354,7 @@ def _write_manifest(namespace_name, repo_name, tag_name, manifest_impl):
elif manifest_impl.namespace != namespace_name:
raise NameInvalid(
message="namespace name does not match manifest",
details={
detail={
"namespace name `%s` does not match `%s` in manifest"
% (namespace_name, manifest_impl.namespace)
},
@@ -363,7 +363,7 @@ def _write_manifest(namespace_name, repo_name, tag_name, manifest_impl):
if manifest_impl.repo_name != repo_name:
raise NameInvalid(
message="repository name does not match manifest",
details={
detail={
"repository name `%s` does not match `%s` in manifest"
% (repo_name, manifest_impl.repo_name)
},