Skip to content

Commit 519c1f3

Browse files
authored
Fix typo in cli error message (#74)
1 parent 1078a4e commit 519c1f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ts/create-kpt-functions/src/cmd/docker_push.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function dockerPush(packageDir: string, dockerTag: string) {
2323
processDockerfile(packageDir, dockerTag, (dockerFile, functionName, image) => {
2424
const push = spawnSync('docker', ['push', image], { stdio: 'inherit' });
2525
if (push.status !== 0) {
26-
let msg = 'Failed to build docker image';
26+
let msg = 'Failed to push docker image';
2727
if (push.error) {
2828
msg = `${msg}: ${push.error}`;
2929
}

ts/create-kpt-functions/src/cmd/type_create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function typeCreate(packageDir: string) {
7171
unlinkSync(swaggerFile);
7272

7373
if (typegen.status !== 0) {
74-
let msg = 'Failed to build docker image';
74+
let msg = 'Failed to run typegen';
7575
if (typegen.error) {
7676
msg = `${msg}: ${typegen.error}`;
7777
}

0 commit comments

Comments
 (0)