diff options
author | Valery Piashchynski <[email protected]> | 2022-08-22 12:21:48 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-08-22 12:21:48 +0200 |
commit | 5c6cb57cb5eb1dad83c907d6f94536dc626e64d5 (patch) | |
tree | 9be735c2222e35a21947c92a040449e486f39252 /lib/roadrunner.go | |
parent | 6a57268eafbc1407e4b242d0458a6df659c523d1 (diff) |
feat: interface{} -> any{}
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'lib/roadrunner.go')
-rw-r--r-- | lib/roadrunner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/roadrunner.go b/lib/roadrunner.go index cbbb7414..0353ae83 100644 --- a/lib/roadrunner.go +++ b/lib/roadrunner.go @@ -22,7 +22,7 @@ type RR struct { } // NewRR creates a new RR instance that can then be started or stopped by the caller -func NewRR(cfgFile string, override []string, pluginList []interface{}) (*RR, error) { +func NewRR(cfgFile string, override []string, pluginList []any) (*RR, error) { // create endure container config containerCfg, err := container.NewConfig(cfgFile) if err != nil { @@ -89,7 +89,7 @@ func (rr *RR) Stop() { } // DefaultPluginsList returns all the plugins that RR can run with and are included by default -func DefaultPluginsList() []interface{} { +func DefaultPluginsList() []any { return container.Plugins() } |