cmd/server sets now environment variables KAPOW_DATA_URL and KAPOW_CONTROL_URL

Remove golinter error S1036: unnecessary guard around map access in 
spawn package
This commit is contained in:
Héctor Hurtado
2020-04-03 21:42:42 +02:00
parent 1ff58d5332
commit 73ef493f04
4 changed files with 13 additions and 7 deletions
+2
View File
@@ -94,6 +94,8 @@ func TestSpawnWritesToStdout(t *testing.T) {
}
func TestSpawnSetsKapowURLEnvVar(t *testing.T) {
t.Skip("Not neccessary as this variable is now set by server at start up")
h := &model.Handler{
Route: model.Route{
Entrypoint: locateJailLover(),