mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 23:54:44 +02:00
Fix empty array in node config YAML
This commit is contained in:
parent
0908830003
commit
dda13f80c7
@ -181,7 +181,7 @@ class Node extends Model
|
|||||||
*/
|
*/
|
||||||
public function getYamlConfiguration()
|
public function getYamlConfiguration()
|
||||||
{
|
{
|
||||||
return Yaml::dump($this->getConfiguration(), 4, 2);
|
return Yaml::dump($this->getConfiguration(), 4, 2, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user