Skip to content

Commit

Permalink
prometheus metrics caoyingjunz#231
Browse files Browse the repository at this point in the history
  • Loading branch information
aide-cloud committed Jul 30, 2023
1 parent d30a3b4 commit c577869
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/metrics/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"time"

metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/client-go/util/homedir"
"k8s.io/klog/v2"
Expand Down Expand Up @@ -67,7 +66,6 @@ func TimingAcquisition(ctx context.Context, t time.Duration) error {
}

go func() {
defer runtime.HandleCrash()
for range ticker.C {
if err := handleLocalStoragesList(ctx, lsClientSet); err != nil {
klog.ErrorS(err, "Failed to get localstorage list")
Expand Down

0 comments on commit c577869

Please sign in to comment.