Skip to content

Commit

Permalink
Remove unused reportsOpts (#5379) [ci fast]
Browse files Browse the repository at this point in the history

Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso authored Oct 8, 2024
1 parent 3a54cb3 commit e794e86
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import nextflow.util.Duration
* @author Paolo Di Tommaso <[email protected]>
*/
@Slf4j
@ToString(includeNames = true, includePackage = false, includeFields = true, excludes = 'reportOpts')
@ToString(includeNames = true, includePackage = false, includeFields = true)
@CompileStatic
class WaveConfig {
final private static String DEF_ENDPOINT = 'https://wave.seqera.io'
Expand All @@ -45,7 +45,6 @@ class WaveConfig {
final private Boolean bundleProjectResources
final private String buildRepository
final private String cacheRepository
final private ReportOpts reportOpts
final private RetryOpts retryOpts
final private HttpOpts httpClientOpts
final private Boolean freezeMode
Expand All @@ -65,7 +64,6 @@ class WaveConfig {
this.cacheRepository = opts.navigate('build.cacheRepository') as String
this.strategy = parseStrategy(opts.strategy)
this.bundleProjectResources = opts.bundleProjectResources
this.reportOpts = new ReportOpts(opts.report as Map ?: Map.of())
this.retryOpts = retryOpts0(opts)
this.httpClientOpts = new HttpOpts(opts.httpClient as Map ?: Map.of())
this.buildMaxDuration = opts.navigate('build.maxDuration', '40m') as Duration
Expand Down Expand Up @@ -168,6 +166,4 @@ class WaveConfig {
return tokensCacheMaxDuration
}

@Deprecated
ReportOpts reportOpts() { reportOpts }
}

0 comments on commit e794e86

Please sign in to comment.