Remove unused code
This commit is contained in:
parent
96fafcdffb
commit
f1da3c452f
3 changed files with 0 additions and 40 deletions
|
@ -268,17 +268,6 @@ class OCIAppModel(AppRegistryDataInterface):
|
|||
channel = oci_model.channel.create_or_update_channel(repo, channel_name, release)
|
||||
return ChannelView(current=channel.linked_tag.name, name=channel.name)
|
||||
|
||||
def get_user(self, username, password):
|
||||
err_msg = None
|
||||
if parse_robot_username(username) is not None:
|
||||
try:
|
||||
user = data.model.user.verify_robot(username, password)
|
||||
except data.model.InvalidRobotException as exc:
|
||||
return (None, exc.message)
|
||||
else:
|
||||
user, err_msg = authentication.verify_and_link_user(username, password)
|
||||
return (user, err_msg)
|
||||
|
||||
def get_blob_locations(self, digest):
|
||||
return oci_model.blob.get_blob_locations(digest)
|
||||
|
||||
|
|
Reference in a new issue