Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: yeya24 <yb532204897@gmail.com>
  • Loading branch information
yeya24 committed Dec 7, 2019
1 parent 495c311 commit 39b9038
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controller.v1alpha3/experiment/util/prometheus_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package util

import (
"context"

"github.com/kubeflow/katib/pkg/apis/controller/experiments/v1alpha3"
"github.com/prometheus/client_golang/prometheus"
"sigs.k8s.io/controller-runtime/pkg/cache"
Expand Down Expand Up @@ -104,8 +105,8 @@ func (c *ExperimentsCollector) IncreaseExperimentsFailedCount(ns string) {
func (c *ExperimentsCollector) collect() {
var (
conditionType v1alpha3.ExperimentConditionType
status string
err error
status string
err error
)
expLists := &v1alpha3.ExperimentList{}
if err = c.store.List(context.TODO(), nil, expLists); err != nil {
Expand Down

0 comments on commit 39b9038

Please sign in to comment.