Skip to content

Commit

Permalink
[backend] fix registry config check
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 5, 2017
1 parent 080a0d1 commit d22f8be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/bs_publish
Original file line number Diff line number Diff line change
Expand Up @@ -2626,10 +2626,10 @@ sub get_registry_config {
}

# check if minimal config items are set
if (!$cr->{host} || !$cr->{user} || !$cr->{password}) {
if (!$cr->{server} || !$cr->{user} || !$cr->{password}) {
BSUtil::printlog(
"No valid config found for container registry: ".
"$cr->{host}/$cr->{user}/$cr->{password} (host/user/password)"
"$cr->{server}/$cr->{user}/$cr->{password} (server/user/password)"
);
return;
}
Expand Down

0 comments on commit d22f8be

Please sign in to comment.