From 82c7c68bee93f7752491d6d4d848b22f4dd2c3e4 Mon Sep 17 00:00:00 2001 From: Lord_Ralex Date: Fri, 16 Nov 2018 21:38:40 -0600 Subject: [PATCH] Fix command to convert --- programs/operations/ops/impl/command/command.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/operations/ops/impl/command/command.go b/programs/operations/ops/impl/command/command.go index 09609dd..adeb93b 100644 --- a/programs/operations/ops/impl/command/command.go +++ b/programs/operations/ops/impl/command/command.go @@ -22,7 +22,6 @@ import ( "strings" "fmt" - "github.com/pufferpanel/apufferi/common" "github.com/pufferpanel/apufferi/logging" "github.com/pufferpanel/pufferd/environments" ) @@ -58,7 +57,7 @@ type CommandOperationFactory struct { } func (of CommandOperationFactory) Create(op ops.CreateOperation) ops.Operation { - cmds := common.ToStringArray(op.OperationArgs["commands"]) + cmds := op.OperationArgs["commands"].([]string) return Command{Commands: cmds, Env: op.EnvironmentVariables} }