Merge pull request #2396 from pterodactyl/fix-2361
Fix empty array in node config YAML
This commit is contained in:
commit
c75ed20b26
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue