From dda13f80c75917f942002dded699dcb4423a6561 Mon Sep 17 00:00:00 2001 From: Anand Capur Date: Tue, 22 Sep 2020 16:09:28 -0700 Subject: [PATCH] Fix empty array in node config YAML --- app/Models/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Node.php b/app/Models/Node.php index 2f2f6d26f..8258ae863 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -181,7 +181,7 @@ class Node extends Model */ public function getYamlConfiguration() { - return Yaml::dump($this->getConfiguration(), 4, 2); + return Yaml::dump($this->getConfiguration(), 4, 2, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE); } /**