Skip to content

Commit

Permalink
Merge pull request #1380 from zexi/fix-excpetion-raise
Browse files Browse the repository at this point in the history
fix: raise Exception
  • Loading branch information
zexi authored Oct 29, 2024
2 parents d55a309 + 5e4ea9f commit 5fe1ba0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/k3s.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ def is_using_k3s(ssh_client=None, use_sudo=False):
for err in NO_SUCH_FILE_OR_DIR_ERR:
if err in str(e):
return True
else:
raise e
raise e
except Exception as e:
raise e

Expand Down

0 comments on commit 5fe1ba0

Please sign in to comment.