move function to features

This commit is contained in:
Darien Raymond
2018-10-13 15:15:49 +02:00
parent 2440d276f1
commit abf0cb1ec4
12 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func New(config *Config) (*Instance, error) {
}
if config.Transport != nil {
PrintDeprecatedFeatureWarning("global transport settings")
features.PrintDeprecatedFeatureWarning("global transport settings")
}
if err := config.Transport.Apply(); err != nil {
return nil, err