Skip to content

Commit

Permalink
cmd not command
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalinas committed Aug 31, 2016
1 parent 5ff6484 commit a4434e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ public String getLogrotateFrequency() {
return taskDefinition.getExecutorData().getLogrotateFrequency().or(configuration.getLogrotateFrequency()).getLogrotateValue();
}

public String getCompressCommand() {
public String getCompressCmd() {
return configuration.getLogrotateCompressionSettings().getCompressCmd().orNull();
}

public String getUncompressCommand() {
public String getUncompressCmd() {
return configuration.getLogrotateCompressionSettings().getUncompressCmd().orNull();
}

Expand Down
2 changes: 1 addition & 1 deletion SingularityExecutor/src/main/resources/logrotate.conf.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dateext
compress
{{#if compressCmd}}compresscmd {{{compressCmd}}}{{/if}}
{{#if uncompressCmd}}uncompresscmd {{{cuncompressCmd}}}{{/if}}
{{#if uncompressCmd}}uncompresscmd {{{uncompressCmd}}}{{/if}}
{{#if compressOptions}}compressoptions {{{compressOptions}}}{{/if}}
{{#if compressExt}}compressext {{{compressExt}}}{{/if}}
{{{ logrotateFrequency }}}
Expand Down

1 comment on commit a4434e2

@tpetr
Copy link
Contributor

@tpetr tpetr commented on a4434e2 Sep 19, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

Please sign in to comment.