Skip to content

Commit

Permalink
Throw error if manifests don't exist (#10396)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunga authored Oct 15, 2024
1 parent c1278b6 commit 6d9614a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/tools/ydbd_slice/kube/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def get_all_manifests(directory):
'Please create NodeClaim mainfest')
sys.exit(2)

if not result:
raise RuntimeError(f'failed to find any manifests in {os.path.abspath(directory)}')

return result


Expand Down

0 comments on commit 6d9614a

Please sign in to comment.