Skip to content

Commit

Permalink
Print progress in the Scheduler.. Ideally this is the data that reaches
Browse files Browse the repository at this point in the history
even the end user. With the state of the segments, etc..
  • Loading branch information
Alexandre Bourget committed Jul 5, 2023
1 parent cbd7ba8 commit 044c89a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions orchestrator/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package scheduler

import (
"context"
"fmt"

"go.uber.org/zap"

Expand Down Expand Up @@ -65,8 +66,8 @@ func (s *Scheduler) Init() loop.Cmd {
}

func (s *Scheduler) Update(msg loop.Msg) loop.Cmd {
//fmt.Printf("Scheduler message: %T %v\n", msg, msg)
//fmt.Print(s.Stages.StatesString())
fmt.Print(s.Stages.StatesString())
fmt.Printf("Scheduler message: %T %v\n", msg, msg)
//cmd, _ := exec.Command("bash", "-c", "cd "+os.Getenv("TEST_TEMP_DIR")+"; find .").Output()
//fmt.Print(string(cmd))
var cmds []loop.Cmd
Expand Down

0 comments on commit 044c89a

Please sign in to comment.