Remove unused code

This commit is contained in:
Joseph Schorr 2018-03-09 16:46:29 -05:00
parent 96fafcdffb
commit f1da3c452f
3 changed files with 0 additions and 40 deletions

View file

@ -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)