Skip to content

Commit

Permalink
Merge pull request spidernet-io#1952 from spidernet-io/pr/welan/rebas…
Browse files Browse the repository at this point in the history
…emain

Revert "Merge branch 'release-v0.6' into main"
  • Loading branch information
weizhoublue authored Jun 28, 2023
2 parents 82620f9 + 4c3b5c8 commit 4f7c4b6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions cmd/coordinator/cmd/command_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,6 @@ func CmdAdd(args *skel.CmdArgs) (err error) {
zap.String("PodNamespace", string(k8sArgs.K8S_POD_NAMESPACE)),
)

k8sArgs := plugincmd.K8sArgs{}
if err = types.LoadArgs(args.Args, &k8sArgs); nil != err {
err := fmt.Errorf("failed to load CNI ENV args: %w", err)
logger.Error(err.Error())
return err
}

logger = logger.With(
zap.String("PodName", string(k8sArgs.K8S_POD_NAME)),
zap.String("PodNamespace", string(k8sArgs.K8S_POD_NAMESPACE)),
)

// parse prevResult
prevResult, err := current.GetResult(conf.PrevResult)
if err != nil {
Expand Down

0 comments on commit 4f7c4b6

Please sign in to comment.