Skip to content

Commit

Permalink
fix: update acr create message
Browse files Browse the repository at this point in the history
  • Loading branch information
manekinekko committed Oct 30, 2019
1 parent e600ab3 commit 9ebd233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/container-registry/create.ts
Expand Up @@ -14,7 +14,7 @@ module.exports = async function(creationMode: CreationMode) {
// https://docs.microsoft.com/en-us/azure/container-registry/container-registry-skus
const registry = await az<AzureContainerRegistry>(
`acr create --resource-group ${project.name} --name ${name} --sku Basic --location ${project.location} --tags "x-created-by=hexa" --query "{name:name, id:id, hostname:loginServer}"`,
`Creating registry for ${chalk.cyan(project.name)}`
`Creating a Container Registry for project ${chalk.cyan(project.name)}...`
);

Config.set("registry", registry);
Expand Down
2 changes: 1 addition & 1 deletion src/features/container-registry/index.ts
Expand Up @@ -14,7 +14,7 @@ module.exports = async function() {
// https://docs.microsoft.com/en-us/cli/azure/acr?view=azure-cli-latest#az-acr-list
const acrList = await az<AzureContainerRegistry[]>(
`acr list --resource-group "${resourceGroup.name}" --subscription "${subscription.id}" --query "[].{id:id, name:name, hostname:loginServer, tags:tags}"`,
`Checking container registry for project ${chalk.cyan(resourceGroup.name)}`
`Checking Container Registry for project ${chalk.cyan(resourceGroup.name)}...`
);

let creationMode = process.env.HEXA_AUTO_MODE ? "AUTOMATIC" : "MANUAL";
Expand Down

0 comments on commit 9ebd233

Please sign in to comment.