Skip to content

Commit

Permalink
eliminate unused limit param for /testing/s3Latency endpoint as i…
Browse files Browse the repository at this point in the history
…t was causing exhaustiveness warning (and therefore now compilation error)
  • Loading branch information
twrichards committed Nov 9, 2023
1 parent a70f6a1 commit 6d01894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion riff-raff/app/controllers/Testing.scala
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class Testing(
Ok(views.html.test.uuidList(config, menu)(request, allDeploys.take(limit)))
}

def S3LatencyList(limit: Int, csv: Boolean) = authAction { implicit request =>
def S3LatencyList(csv: Boolean) = authAction { implicit request =>
val filter = DeployFilter.fromRequest
val pagination = PaginationView.fromRequest
val allDeploys = documentStoreConverter
Expand Down
4 changes: 2 additions & 2 deletions riff-raff/conf/routes
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ GET /testing/reportTestPartial controllers.Testing.
GET /testing/form controllers.Testing.form
POST /testing/formPost controllers.Testing.formPost
GET /testing/uuidList controllers.Testing.uuidList(limit:Int ?= 500)
GET /testing/s3Latency controllers.Testing.S3LatencyList(limit:Int ?= 10, csv:Boolean=false)
GET /testing/s3Latency/csv controllers.Testing.S3LatencyList(limit:Int ?= 10, csv:Boolean=true)
GET /testing/s3Latency controllers.Testing.S3LatencyList(csv:Boolean=false)
GET /testing/s3Latency/csv controllers.Testing.S3LatencyList(csv:Boolean=true)
POST /testing/actionUUID controllers.Testing.actionUUID
GET /testing/view/:uuid controllers.Testing.debugLogViewer(uuid)
GET /testing/addStringUUID controllers.Testing.transferAllUUIDs
Expand Down

0 comments on commit 6d01894

Please sign in to comment.