Skip to content

Commit

Permalink
fix: print correct container registry on init (#485)
Browse files Browse the repository at this point in the history
The init kpt-functions command was always printing the default,
regardless of whether an input was provided. This fixes the behavior to
print the proper value.
  • Loading branch information
sdowell committed Jan 13, 2022
1 parent 9bdbadb commit 99a0505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/create-kpt-functions/src/cmd/package_create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function initPackage() {
validator.isValidDockerRepo,
defaultDockerRepoBase
);
log(`Using docker repository prefix ${defaultDockerRepoBase}.\n`);
log(`Using docker repository prefix ${dockerRepoBase}.\n`);

new Templates([
{
Expand Down

0 comments on commit 99a0505

Please sign in to comment.