Skip to content

Commit

Permalink
The import package sort adjustment in the go file under the openyurt/…
Browse files Browse the repository at this point in the history
…pkg/node-servant (#575)
  • Loading branch information
yanyhui authored Nov 11, 2021
1 parent b822852 commit 4e3abd5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions pkg/node-servant/components/yurthub.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ import (
"strings"
"time"

"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/klog"

enutil "github.com/openyurtio/openyurt/pkg/yurtctl/util/edgenode"
"github.com/openyurtio/openyurt/pkg/yurthub/certificate/hubself"
"github.com/openyurtio/openyurt/pkg/yurthub/storage/disk"
"github.com/openyurtio/openyurt/pkg/yurthub/util"

"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/klog"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/node-servant/convert/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"os"
"time"

"github.com/spf13/pflag"

enutil "github.com/openyurtio/openyurt/pkg/yurtctl/util/edgenode"
"github.com/openyurtio/openyurt/pkg/yurthub/util"

"github.com/spf13/pflag"
)

// Options has the information that required by convert operation
Expand Down
3 changes: 2 additions & 1 deletion pkg/node-servant/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ package node_servant
import (
"fmt"

tmplutil "github.com/openyurtio/openyurt/pkg/yurtctl/util/templates"
batchv1 "k8s.io/api/batch/v1"
k8sruntime "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/client-go/kubernetes/scheme"

tmplutil "github.com/openyurtio/openyurt/pkg/yurtctl/util/templates"
)

// RenderNodeServantJob return k8s job
Expand Down
4 changes: 2 additions & 2 deletions pkg/node-servant/revert/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ package revert
import (
"os"

enutil "github.com/openyurtio/openyurt/pkg/yurtctl/util/edgenode"

"github.com/spf13/pflag"

enutil "github.com/openyurtio/openyurt/pkg/yurtctl/util/edgenode"
)

// Options has the information that required by revert operation
Expand Down

0 comments on commit 4e3abd5

Please sign in to comment.