Skip to content

Commit

Permalink
fix toleration operator name
Browse files Browse the repository at this point in the history
  • Loading branch information
marekliszka committed Apr 5, 2023
1 parent f135236 commit ba5be83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubeluigi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def add_volume(self, volume):
"""
return self.volumes.append(volume)

def add_toleration(self, key, value, effect='NoSchedule', operator='Equals'):
def add_toleration(self, key, value, effect='NoSchedule', operator='Equal'):
toleration = V1Toleration(key=key, value=value, effect=effect, operator=operator)

return self.tolerations.append(toleration)
Expand Down

0 comments on commit ba5be83

Please sign in to comment.