Specify AWS Functions as list
to conform with the yaml standard of list definition.
This commit is contained in:

committed by
Sebastian Serth

parent
d80761a973
commit
0f8a1fa25a
@@ -12,7 +12,6 @@ import (
|
||||
"github.com/stretchr/testify/suite"
|
||||
"net/http"
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@@ -65,7 +64,7 @@ func TestMain(m *testing.M) {
|
||||
}
|
||||
|
||||
func initAWS() {
|
||||
for i, function := range strings.Fields(config.Config.AWS.Functions) {
|
||||
for i, function := range config.Config.AWS.Functions {
|
||||
id := dto.EnvironmentID(tests.DefaultEnvironmentIDAsInteger + i + 1)
|
||||
path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, id.ToString())
|
||||
request := dto.ExecutionEnvironmentRequest{Image: function}
|
||||
|
Reference in New Issue
Block a user