Skip to content

Commit

Permalink
fix(sql): listObjectVersions() should return a mutableListOf()`
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens committed Jul 8, 2019
1 parent 35c293f commit c91895a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class SqlStorageService(
maxResults: Int): List<T> {
if (maxResults == 1) {
// will throw NotFoundException if object does not exist
return listOf(loadObject(objectType, objectKey))
return mutableListOf(loadObject(objectType, objectKey))
}

val bodies = jooq.withRetry(sqlRetryProperties.reads) { ctx ->
Expand Down

0 comments on commit c91895a

Please sign in to comment.