Skip to content

Commit

Permalink
fix code lint faild
Browse files Browse the repository at this point in the history
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
  • Loading branch information
lengrongfu authored and wawa0210 committed Dec 6, 2024
1 parent 54b8f74 commit 94ba833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/vGPUmonitor/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@ package main

import (
"fmt"
"github.com/Project-HAMi/HAMi/pkg/util"
"log"
"net/http"
"os"
"strings"
"time"

"github.com/Project-HAMi/HAMi/pkg/monitor/nvidia"
"github.com/Project-HAMi/HAMi/pkg/util"

"github.com/NVIDIA/go-nvml/pkg/nvml"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"

"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/informers"
listerscorev1 "k8s.io/client-go/listers/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/monitor/nvidia/cudevshr.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"context"
"errors"
"fmt"
"github.com/Project-HAMi/HAMi/pkg/util"
"os"
"path/filepath"
"strings"
Expand All @@ -31,6 +30,7 @@ import (

v0 "github.com/Project-HAMi/HAMi/pkg/monitor/nvidia/v0"
v1 "github.com/Project-HAMi/HAMi/pkg/monitor/nvidia/v1"
"github.com/Project-HAMi/HAMi/pkg/util"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down

0 comments on commit 94ba833

Please sign in to comment.