Skip to content

Commit

Permalink
fix(tags): improve the error message when the combination of tags mat…
Browse files Browse the repository at this point in the history
…ch no node labels

Fixes deis#486
  • Loading branch information
helgi committed Mar 25, 2016
1 parent e5f4732 commit c50640c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/api/models/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def save(self, **kwargs):
if not nodes['items']:
labels = ['{}={}'.format(key, value) for key, value in self.tags.items()]
raise EnvironmentError(
'These tags do not match labels on kubernetes nodes: {}'.format(
'No nodes matched the provided labels: {}'.format(
', '.join(labels)
)
)
Expand Down

0 comments on commit c50640c

Please sign in to comment.