Skip to content

Commit

Permalink
gets logf working again #50
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhhoggr committed Feb 16, 2025
1 parent 5e6cd42 commit 7d550c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/controller/logf.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"context"
"fmt"
"io"
"pmon3/cli"
"pmon3/cli/controller/base"
"pmon3/cli/shell"
"pmon3/protos"
Expand Down Expand Up @@ -42,6 +43,9 @@ func Logf(idOrName string, numLines string, ctx context.Context) *protos.CmdResp
}
}
}()
if err = c.Start(); err != nil {
cli.Log.Errorf("Encountered an error executing: %s: %s", c.String(), err)
}
wg.Wait()
}

Expand Down

0 comments on commit 7d550c0

Please sign in to comment.