Skip to content

Commit

Permalink
salt: Fix missing import in metalk8s_cordon salt module
Browse files Browse the repository at this point in the history
In `_check_deps` function in `metalk8s_cordon.py` salt module we raise a
`CommandExecutionError` but this one is not imported at all.
This commit fix this.
  • Loading branch information
TeddyAndrieux committed Jul 7, 2020
1 parent 36f9c3a commit 6cac5df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/_modules/metalk8s_cordon.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
This module's functions are merged into the `metalk8s_kubernetes`
module when called by salt by virtue of its `__virtualname__` attribute.
'''
from salt.exceptions import CommandExecutionError


__virtualname__ = 'metalk8s_kubernetes'

Expand Down

0 comments on commit 6cac5df

Please sign in to comment.