Merge pull request #8398 from appwrite/fix-disabled-function-logging

Handle false appended to string
This commit is contained in:
Christy Jacob 2024-08-01 02:04:33 +04:00 committed by GitHub
commit 8fee03bd36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 3 deletions

View file

@ -787,7 +787,7 @@ $image = $this->getParam('image', '');
<<: *x-logging
restart: unless-stopped
stop_signal: SIGINT
image: openruntimes/executor:0.5.5
image: openruntimes/executor:0.6.2
networks:
- appwrite
- runtimes

View file

@ -873,7 +873,7 @@ services:
hostname: exc1
<<: *x-logging
stop_signal: SIGINT
image: openruntimes/executor:0.6.1
image: openruntimes/executor:0.6.2
restart: unless-stopped
networks:
- appwrite

View file

@ -136,7 +136,11 @@ class BodyMultipart
}
$query .= $eol . $eol;
$query .= $value . $eol;
if ($value === false) {
$query .= 0 . $eol;
} else {
$query .= $value . $eol;
}
$query .= '--' . $this->boundary;
}

View file

@ -168,6 +168,7 @@ class Executor
* @param string $source
* @param string $entrypoint
* @param string $runtimeEntrypoint
* @param bool $logging
*
* @return array
*/