From 23355cd681001f82c8abef322ea1d6266f6d25ad Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Fri, 24 Sep 2021 11:53:04 +0100 Subject: [PATCH] Update executor.php --- app/executor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/executor.php b/app/executor.php index 6fe8db4176..a83dde495c 100644 --- a/app/executor.php +++ b/app/executor.php @@ -72,7 +72,7 @@ $activeFunctions = new Swoole\Table(1024); $activeFunctions->column('id', Swoole\Table::TYPE_STRING, 512); $activeFunctions->column('name', Swoole\Table::TYPE_STRING, 512); $activeFunctions->column('status', Swoole\Table::TYPE_STRING, 512); -$activeFunctions->column('private-key', Swoole\Table::TYPE_STRING, 4096); +$activeFunctions->column('key', Swoole\Table::TYPE_STRING, 4096); $activeFunctions->create(); @@ -622,7 +622,7 @@ function createRuntimeServer(string $functionId, string $projectId, Document $ta 'id' => $id, 'name' => $container, 'status' => 'Up ' . \round($executionEnd - $executionStart, 2) . 's', - 'private-key' => $privateKey, + 'key' => $secret, ]); Console::info('Runtime Server created in ' . ($executionEnd - $executionStart) . ' seconds');