Skip to content

Commit

Permalink
Fix reporting tool periodic increment (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanvuong2021 authored Dec 22, 2022
1 parent b69f180 commit 6184fb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def wfa_measurement_system_repositories():
wfa_repo_archive(
name = "wfa_common_jvm",
repo = "common-jvm",
sha256 = "4a66b0371fd54dc21d210f65c53881dcb1cfc981ec31f398878364dab8b7a1d0",
version = "0.49.1",
sha256 = "dd5a1184f01c8ddc67eef5280fbeecbba090602f9f3ac262a0d4241f8ce0e869",
version = "0.50.0",
)

wfa_repo_archive(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import java.time.Instant
import kotlin.properties.Delegates
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.runBlocking
import org.wfanet.measurement.common.DurationFormat
import org.wfanet.measurement.common.commandLineMain
import org.wfanet.measurement.common.crypto.SigningCerts
import org.wfanet.measurement.common.grpc.TlsFlags
Expand Down Expand Up @@ -256,6 +257,7 @@ class CreateReportCommand : Runnable {
required = true
)
lateinit var periodicIntervalIncrement: Duration
private set

@set:CommandLine.Option(
names = ["--periodic-interval-count"],
Expand Down Expand Up @@ -486,7 +488,8 @@ class Reporting : Runnable {
override fun run() {}

companion object {
@JvmStatic fun main(args: Array<String>) = commandLineMain(Reporting(), args)
@JvmStatic
fun main(args: Array<String>) = commandLineMain(Reporting(), args, DurationFormat.ISO_8601)
}
}

Expand Down

0 comments on commit 6184fb9

Please sign in to comment.