Fix typos in data model

This commit is contained in:
Joseph Schorr 2017-03-23 11:14:08 -04:00
parent 05ce571e3e
commit 917d5e2550
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ def delete_channel(repo, channel_name):
def create_or_update_channel(repo, channel_name, tag_name):
""" Creates or updates a channel to include a particular tag. """
tag = tag_model.get_tag(repo, tag_name, 'release')
return tag.create_or_update_tag(repo, channel_name, linked_tag=tag, tag_kind="channel")
return tag_model.create_or_update_tag(repo, channel_name, linked_tag=tag, tag_kind="channel")
def get_repo_channels(repo):