diff --git a/plugins/output/copy/main.go b/plugins/output/copy/main.go index ef8dc69..a79f3d3 100644 --- a/plugins/output/copy/main.go +++ b/plugins/output/copy/main.go @@ -7,7 +7,6 @@ import ( "path/filepath" "github.com/lukasjarosch/skipper" - "github.com/lukasjarosch/skipper/codec" "github.com/lukasjarosch/skipper/data" ) @@ -17,21 +16,6 @@ type Config struct { Overwrite bool `yaml:"overwrite"` } -func NewConfig(raw map[string]interface{}) (Config, error) { - yaml := codec.NewYamlCodec() - b, err := yaml.Marshal(raw) - if err != nil { - return Config{}, err - } - - var config Config - err = yaml.UnmarshalTarget(b, &config) - if err != nil { - return Config{}, err - } - return config, nil -} - var ConfigPath = data.NewPath("config.plugins.output.copy") // Plugin symbol which is loaded by skipper.