summaryrefslogtreecommitdiff
path: root/lib/roadrunner.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-08-22 12:21:48 +0200
committerValery Piashchynski <[email protected]>2022-08-22 12:21:48 +0200
commit5c6cb57cb5eb1dad83c907d6f94536dc626e64d5 (patch)
tree9be735c2222e35a21947c92a040449e486f39252 /lib/roadrunner.go
parent6a57268eafbc1407e4b242d0458a6df659c523d1 (diff)
feat: interface{} -> any{}
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'lib/roadrunner.go')
-rw-r--r--lib/roadrunner.go4
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()
}