moood
This commit is contained in:
@@ -9,11 +9,11 @@ import (
|
||||
)
|
||||
|
||||
type LocalMonitor struct {
|
||||
LokiURL string
|
||||
KubeURL string
|
||||
ExecutionID string
|
||||
Duration int
|
||||
Logger zerolog.Logger
|
||||
LokiURL string
|
||||
KubeURL string
|
||||
ExecutionID string
|
||||
Duration int
|
||||
Logger zerolog.Logger
|
||||
}
|
||||
|
||||
func (lm *LocalMonitor) LaunchLocalMonitor() {
|
||||
@@ -35,7 +35,6 @@ func (lm *LocalMonitor) execLocalKube() {
|
||||
args = append(args, "-t", fmt.Sprintf("%d", lm.Duration))
|
||||
}
|
||||
cmd := exec.Command(conf.GetConfig().MonitorPath, args...)
|
||||
fmt.Println("CMD", cmd)
|
||||
err := cmd.Start()
|
||||
if err != nil {
|
||||
lm.Logger.Error().Msg("Could not start oc-monitor for " + lm.ExecutionID + " : " + err.Error())
|
||||
@@ -43,6 +42,4 @@ func (lm *LocalMonitor) execLocalKube() {
|
||||
}
|
||||
|
||||
// TODO : implement this
|
||||
func (lm *LocalMonitor) execRemoteKube() {
|
||||
|
||||
}
|
||||
func (lm *LocalMonitor) execRemoteKube() {}
|
||||
|
||||
Reference in New Issue
Block a user