Skip to content

Commit

Permalink
Never lowercase the name() of an APIObject
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmwilliams committed Dec 1, 2020
1 parent bd420b1 commit d14f1c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/rebuild_module.digest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
505576f57aa17486256fc6fd36dc27fc -
f2e488f186a4f5b93a014fb1c695a1fc -

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/openshift/apiobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def name(self, if_missing=_DEFAULT):
"""
return _access_field(self.model.metadata.name,
"Object model does not contain .metadata.name", if_missing=if_missing,
lowercase=True)
lowercase=False)

def namespace(self, if_missing=_DEFAULT):
"""
Expand Down

0 comments on commit d14f1c6

Please sign in to comment.