Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
TaskShow does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
owulveryck committed Dec 13, 2015
1 parent 5919d62 commit fabad26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions executor/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ type node orchestrator.Node
// Run actually launch the engine to run the node
func (n *node) Run() {
log.Printf("Running %v with engine %v, artifact %v and args %v", n.Name, n.Engine, n.Artifact, n.Args)
n.State = orchestrator.Success
log.Println(n.State)
}
1 change: 0 additions & 1 deletion executor/webhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ func TaskShow(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
if err := json.NewEncoder(w).Encode(v); err != nil {
panic(err)

}
return
} else {
Expand Down

0 comments on commit fabad26

Please sign in to comment.