Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions internal/connect/command_artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type artifactOut struct {
Environment string `human:"Environment" serialized:"environment"`
ContentFormat string `human:"Content Format" serialized:"content_format"`
Status string `human:"Status" serialized:"status"`
ErrorMessage string `human:"Error Message" serialized:"error_message"`
}

func newArtifactCommand(prerunner pcmd.PreRunner) *cobra.Command {
Expand Down Expand Up @@ -49,6 +50,7 @@ func convertToArtifactOut(artifact camv1.CamV1ConnectArtifact) *artifactOut {
Environment: artifact.Spec.GetEnvironment(),
ContentFormat: artifact.Spec.GetContentFormat(),
Status: artifact.Status.GetPhase(),
ErrorMessage: artifact.Status.GetErrorMessage(),
}
Comment on lines 50 to 54
}

Expand Down