Skip to content

Commit

Permalink
Management client performs actions on the same variant it registered …
Browse files Browse the repository at this point in the history
…as. (#363)
  • Loading branch information
mpawliszyn authored Dec 18, 2023
1 parent b616a84 commit c2ebb10
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import okio.ByteString

// TODO(mikepaw) - add parameter_map method for Java uses.
class RealBackfilaManagementClient @Inject internal constructor(
private val config: BackfilaClientConfig,
private val client: BackfilaClient,
) : BackfilaManagementClient {
override fun <B : Backfill> createAndStart(
Expand Down Expand Up @@ -42,7 +43,9 @@ class RealBackfilaManagementClient @Inject internal constructor(
.pkey_range_start(pkey_range_start)
.pkey_range_end(pkey_range_end)
.build(),
).build(),
)
.variant(config.variant)
.build(),
)
}
}

0 comments on commit c2ebb10

Please sign in to comment.