Skip to content

Commit

Permalink
#12 : fix yaml indent and default dbms to null
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas43000 committed Nov 20, 2020
1 parent a7ba45a commit 8d73483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Domain/Stack/DTO/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(
string $phpVersion,
?string $application = null,
?string $applicationVersion = null,
?string $dbms = self::DBMS_POSTGRESQL,
?string $dbms = null,
?bool $isEnterpriseEdition = false
) {
$this->phpVersion = $phpVersion;
Expand Down Expand Up @@ -80,4 +80,4 @@ public function getImagesRegex(): string
$this->dbms
);
}
}
}
2 changes: 1 addition & 1 deletion src/Platform/Console/Command/Stack/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$format->note('Writing a new .kloud.yaml file.');
file_put_contents($workingDirectory . '/.kloud.yaml', $serializer->serialize($context, 'yaml', [
'yaml_inline' => 2,
'yaml_indent' => 2,
'yaml_indent' => 0,
'yaml_flags' => 0
]));

Expand Down

0 comments on commit 8d73483

Please sign in to comment.