Skip to content

Commit

Permalink
Update pkg/devfile/adapters/kubernetes/component/commandhandler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Armel Soro <armel@rm3l.org>
  • Loading branch information
dharmit and rm3l authored Aug 11, 2022
1 parent e34e7f0 commit 3534e22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (a *adapterHandler) Execute(devfileCmd devfilev1.Command) error {
// Creating with no spin because the command could be long-running, and we cannot determine when it will end.
s.Start(fmt.Sprintf("Executing the application (command: %s)", devfileCmd.Id), true)
case remotecmd.Stopped, remotecmd.Errored:
s.EndWithStatus(fmt.Sprintf("Finished executing the long running application (command: %s)", devfileCmd.Id), status == remotecmd.Stopped)
s.EndWithStatus(fmt.Sprintf("Finished executing the application (command: %s)", devfileCmd.Id), status == remotecmd.Stopped)
if err != nil {
klog.V(2).Infof("error while running background command: %v", err)
}
Expand Down

0 comments on commit 3534e22

Please sign in to comment.