Skip to content

Commit

Permalink
Keep enable SPLIT_LINES
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Sep 9, 2024
1 parent d8916c7 commit 2e39099
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/dev/snowdrop/factory/TektonResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static PipelineTask createTaskWithEmbeddedScript(Action action, String ru
action.getWorkspaces().forEach(wks -> {
taskWorkspaces.add(new WorkspaceDeclarationBuilder()
.withName(wks.getName())
// TODO: Should we also uspport to define a volume to mount
// TODO: Should we also support to define a volume to mount
.build());
});
}
Expand Down
1 change: 0 additions & 1 deletion src/main/java/dev/snowdrop/service/ConfiguratorSvc.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ public static void writeYaml(HasMetadata resource, String outputPath) {
ObjectMapper mapper = new ObjectMapper(
new YAMLFactory()
.disable(WRITE_DOC_START_MARKER)
.disable(SPLIT_LINES)
.enable(LITERAL_BLOCK_STYLE)
);
mapper.writeValue(pathToYaml.toFile(), resource);
Expand Down

0 comments on commit 2e39099

Please sign in to comment.