Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
d80tb7 committed Jan 20, 2025
1 parent 6ec31a1 commit e5ae56a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions cmd/scheduleringester/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ import (
"fmt"
"os"

"github.com/armadaproject/armada/internal/common/logging"

"github.com/spf13/pflag"
"github.com/spf13/viper"

"github.com/armadaproject/armada/internal/scheduleringester"

"github.com/armadaproject/armada/internal/common"
"github.com/armadaproject/armada/internal/common/logging"
"github.com/armadaproject/armada/internal/scheduleringester"
)

const CustomConfigLocation string = "config"
Expand Down
4 changes: 1 addition & 3 deletions internal/executor/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"github.com/armadaproject/armada/internal/common/cluster"
"github.com/armadaproject/armada/internal/common/etcdhealth"
"github.com/armadaproject/armada/internal/common/healthmonitor"
log "github.com/armadaproject/armada/internal/common/logging"
common_metrics "github.com/armadaproject/armada/internal/common/metrics"
"github.com/armadaproject/armada/internal/common/task"
"github.com/armadaproject/armada/internal/common/util"
Expand Down Expand Up @@ -195,8 +194,7 @@ func setupExecutorApiComponents(

failedPodChecker, err := failedpodchecks.NewPodRetryChecker(config.Kubernetes.FailedPodChecks)
if err != nil {
log.Errorf("Failed to create job event reporter: %s", err)
os.Exit(-1)
ctx.Fatalf("Config error in failed pod checks: %s", err)
}

eventReporter, stopReporter := reporter.NewJobEventReporter(eventSender, clock.RealClock{}, 200)
Expand Down

0 comments on commit e5ae56a

Please sign in to comment.