Skip to content

Commit b2113f8

Browse files
Merge pull request redhat-appstudio#533 from stuartwdouglas/cli-fixes
Minor CLI fixes
2 parents 8d9763c + 1b5c0e3 commit b2113f8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

java-components/cli/src/main/java/io/github/redhatappstudio/jvmbuild/cli/artifacts/ArtifactListCommand.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ public void run() {
4747
System.out.print(" ");
4848
}
4949
System.out.print(" ");
50-
System.out.println(i.getValue().getMetadata().getName());
51-
System.out.print(" ");
52-
System.out.println(i.getValue().getStatus().getMessage());
50+
System.out.print(i.getValue().getMetadata().getName());
51+
if (i.getValue().getStatus().getMessage() != null) {
52+
System.out.print(" ");
53+
System.out.println(i.getValue().getStatus().getMessage());
54+
}
5355

5456
}
5557

java-components/cli/src/main/java/io/github/redhatappstudio/jvmbuild/cli/artifacts/ArtifactRebuildCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public ArtifactBuild apply(ArtifactBuild artifactBuild) {
4444
});
4545
}
4646
}
47+
return;
4748
}
4849
var client = Arc.container().instance(KubernetesClient.class).get();
4950
ArtifactBuild theBuild = null;

0 commit comments

Comments
 (0)