Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 9c560a4

Browse files
committed
Added a more informative error message when unable to init container repository
1 parent 9496464 commit 9c560a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automation/DeployToHPVS.bashlib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ init_repo_for_notary_server(){
12161216
# Initiate repository in remote notary push delegation key
12171217
run_command "${runcmd}"
12181218
if [[ $? != 0 ]]; then
1219-
fatal_error "Failed to initiate repository '${5}' in notary"
1219+
fatal_error "Failed to initiate repository '${5}' in notary \nYou will get this message if your cloud plan is over the alloted storage space in the container registry. \nPlease check using 'ibmcloud cr images' command in the cli to verify you are still under your quota."
12201220
else
12211221
write_success "Initiated repository '${5}' in notary, and added '${4}' as a delegation key"
12221222
fi

0 commit comments

Comments
 (0)