Skip to content

Commit

Permalink
Adds guidance on cloudchamber registry commands (#6112)
Browse files Browse the repository at this point in the history
* Adds guidance on cloudchamber registry commands

* fix prettier fail

---------

Co-authored-by: Sunil Pai <spai@cloudflare.com>
  • Loading branch information
mikenomitch and threepointone authored Jun 21, 2024
1 parent d7e6f11 commit 05ed869
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/wrangler/src/cloudchamber/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export function renderDeploymentMutationError(
"You have surpassed the limits of your account\n" +
renderAccountLimits(),
[DeploymentMutationError.IMAGE_REGISTRY_NOT_CONFIGURED]: () =>
"You have to configure the domain of the image you're trying to set\n",
"The image registry you are trying to use is not configured. Use the 'wrangler cloudchamber registries configure' command to configure the registry.\n",
};

crash(details["reason"] ?? errorEnumToErrorMessage[errorEnum]());
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/src/cloudchamber/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export async function handleCreateCommand(
},
defaultValue: args.image ?? "",
initialValue: args.image ?? "",
helpText: ":latest tags are not allowed!",
helpText: 'i.e. "docker.io/org/app:1.2", :latest tags are not allowed!',
type: "text",
});

Expand Down

0 comments on commit 05ed869

Please sign in to comment.