Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
1. sort import
2. fix missing import
3. rename filename

Signed-off-by: wujunyi <wu65830600@163.com>
  • Loading branch information
wujunyi792 committed Sep 21, 2023
1 parent 5b7c468 commit 9e74768
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion edge/pkg/devicetwin/dmiserver/server_others.go
Expand Up @@ -4,8 +4,9 @@ package dmiserver

import (
"fmt"
"k8s.io/klog/v2"
"os"

"k8s.io/klog/v2"
)

func initSock(sockPath string) error {
Expand Down
3 changes: 2 additions & 1 deletion edge/pkg/devicetwin/dmiserver/server_windows.go
Expand Up @@ -4,8 +4,9 @@ package dmiserver

import (
"fmt"
"k8s.io/klog/v2"
"os"

"k8s.io/klog/v2"
)

func initSock(sockPath string) error {
Expand Down
Expand Up @@ -2,6 +2,8 @@

package v1alpha2

import kubetypes "k8s.io/kubernetes/pkg/kubelet/types"

const (
CGroupDriverCGroupFS = "cgroupfs"
CGroupDriverSystemd = "systemd"
Expand Down

0 comments on commit 9e74768

Please sign in to comment.