Skip to content

Commit

Permalink
Add request details to DeployFeedbackRequestResult
Browse files Browse the repository at this point in the history
Signed-off-by: Saeed Rezaee <saeed.rezaee@kynetics.it>
  • Loading branch information
SaeedRe committed Mar 19, 2024
1 parent 85b6f13 commit e0969c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -131,7 +131,8 @@ interface MessageListener {
*/
data class DeployFeedbackRequestResult(val success: Boolean,
val id: String,
val closeAction: Boolean) :
val closeAction: Boolean,
val requestDetails: List<String>) :
Event("Result of the feedback request to the server")

/**
Expand Down
Expand Up @@ -73,7 +73,8 @@ private constructor(scope: ActorScope) : AbstractActor(scope) {
}
if (msg is In.DeploymentFeedback) {
notificationManager.send(MessageListener.Message.Event
.DeployFeedbackRequestResult(success, msg.feedback.id, msg.closeAction))
.DeployFeedbackRequestResult(success, msg.feedback.id,
msg.closeAction, msg.feedback.status.details))
}
}
}
Expand Down

0 comments on commit e0969c9

Please sign in to comment.