Skip to content

Commit

Permalink
Merge pull request #85 from bradmwilliams/current-case-fix
Browse files Browse the repository at this point in the history
Updating current() logic to handle case insensitive lookup
  • Loading branch information
bradmwilliams authored Dec 1, 2020
2 parents bd420b1 + d14f1c6 commit 8941738
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 8941738

Please sign in to comment.