Skip to content

Commit

Permalink
add payload to command status
Browse files Browse the repository at this point in the history
Signed-off-by: refaelm <[email protected]>
  • Loading branch information
refaelm92 committed Nov 12, 2024
1 parent c1df680 commit 91cbeb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/command/types/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type OperatorCommandStatus struct {
CompletedAt *metav1.Time `json:"completedAt,omitempty"` // CompletedAt is the time at which the command was completed
Executer string `json:"executer,omitempty"` // Executer is the entity that executed the command
Error *OperatorCommandStatusError `json:"error,omitempty"` // Error is the error that occurred during the execution of the command (if any)
Payload []byte `json:"payload,omitempty"` // Payload is the response payload from execution of the command (if any)
}

type OperatorCommandStatusError struct {
Expand Down

0 comments on commit 91cbeb3

Please sign in to comment.