Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Docker label value type is str
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jul 3, 2017
1 parent 75b4b60 commit 4927705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badwolf/webhook/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _cancel_outdated_pipelines(context):
labels = container.labels
if context.type == 'tag':
continue
if context.pr_id and labels.get('pull_request') != context.pr_id:
if context.pr_id and labels.get('pull_request') != str(context.pr_id):
continue
if context.type == 'branch' and labels.get('branch') != context.source['branch']['name']:
continue
Expand Down

0 comments on commit 4927705

Please sign in to comment.