forked from Ivasoft/traefik
fix: go module
This commit is contained in:
committed by
GitHub
parent
707f84e2e4
commit
044dc6a221
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/traefik/traefik/v2/pkg/logs"
|
||||
"github.com/traefik/traefik/v3/pkg/logs"
|
||||
"github.com/traefik/yaegi/interp"
|
||||
"github.com/traefik/yaegi/stdlib"
|
||||
)
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
|
||||
"github.com/hashicorp/go-retryablehttp"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/traefik/traefik/v2/pkg/logs"
|
||||
"github.com/traefik/traefik/v3/pkg/logs"
|
||||
"golang.org/x/mod/module"
|
||||
"golang.org/x/mod/zip"
|
||||
"gopkg.in/yaml.v3"
|
||||
|
||||
@@ -10,10 +10,10 @@ import (
|
||||
|
||||
"github.com/mitchellh/mapstructure"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/traefik/traefik/v2/pkg/config/dynamic"
|
||||
"github.com/traefik/traefik/v2/pkg/logs"
|
||||
"github.com/traefik/traefik/v2/pkg/provider"
|
||||
"github.com/traefik/traefik/v2/pkg/safe"
|
||||
"github.com/traefik/traefik/v3/pkg/config/dynamic"
|
||||
"github.com/traefik/traefik/v3/pkg/logs"
|
||||
"github.com/traefik/traefik/v3/pkg/provider"
|
||||
"github.com/traefik/traefik/v3/pkg/safe"
|
||||
"github.com/traefik/yaegi/interp"
|
||||
)
|
||||
|
||||
@@ -45,7 +45,7 @@ func (p _PP) Stop() error {
|
||||
|
||||
func ppSymbols() map[string]map[string]reflect.Value {
|
||||
return map[string]map[string]reflect.Value{
|
||||
"github.com/traefik/traefik/v2/pkg/plugins/plugins": {
|
||||
"github.com/traefik/traefik/v3/pkg/plugins/plugins": {
|
||||
"PP": reflect.ValueOf((*PP)(nil)),
|
||||
"_PP": reflect.ValueOf((*_PP)(nil)),
|
||||
},
|
||||
@@ -115,7 +115,7 @@ import (
|
||||
"context"
|
||||
|
||||
` + basePkg + ` "` + builder.Import + `"
|
||||
"github.com/traefik/traefik/v2/pkg/plugins"
|
||||
"github.com/traefik/traefik/v3/pkg/plugins"
|
||||
)
|
||||
|
||||
func NewWrapper(ctx context.Context, config *` + basePkg + `.Config, name string) (plugins.PP, error) {
|
||||
|
||||
Reference in New Issue
Block a user