Skip to content

Commit 6d9614a

Browse files
authored
Throw error if manifests don't exist (#10396)
1 parent c1278b6 commit 6d9614a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ydb/tools/ydbd_slice/kube/handlers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def get_all_manifests(directory):
8080
'Please create NodeClaim mainfest')
8181
sys.exit(2)
8282

83+
if not result:
84+
raise RuntimeError(f'failed to find any manifests in {os.path.abspath(directory)}')
85+
8386
return result
8487

8588

0 commit comments

Comments
 (0)