Skip to content

Commit b845160

Browse files
Update v1 git functions based on the actual version where they start passing
1 parent 066f11f commit b845160

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/integration-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- "2024.03.0" # jammy
2323
- "2023.09.0" # jammy
2424
- "2023.03.0" # bionic
25-
- "2022.12.0" # bionic
2625
- "2022.10.0" # bionic
2726
name: Connect ${{ matrix.version }}
2827

R/content.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Content <- R6::R6Class(
327327
#' - last_known_commit
328328
repository = function() {
329329
con <- self$connect
330-
error_if_less_than(con$version, "2022.10.0")
330+
error_if_less_than(con$version, "2022.12.0")
331331
guid <- self$content$guid
332332
resp <- con$GET(
333333
v1_url("content", guid, "repository"),
@@ -344,7 +344,7 @@ Content <- R6::R6Class(
344344
#' @param polling Polling enabled.
345345
repo_enable = function(polling = TRUE) {
346346
con <- self$connect
347-
error_if_less_than(con$version, "2022.10.0")
347+
error_if_less_than(con$version, "2022.12.0")
348348
guid <- self$content$guid
349349
con$PATCH(
350350
v1_url("content", guid, "repository"),
@@ -363,7 +363,7 @@ Content <- R6::R6Class(
363363
polling = FALSE
364364
) {
365365
guid <- self$content$guid
366-
error_if_less_than(self$connect$version, "2022.10.0")
366+
error_if_less_than(self$connect$version, "2022.12.0")
367367
self$connect$PUT(
368368
v1_url("content", guid, "repository"),
369369
body = list(

0 commit comments

Comments
 (0)