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:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user