Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Nov 10, 2023
2 parents 63cd359 + e889619 commit f5d378f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/class_gcp.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ store_upload_object_gcp <- function(store) {
file = store$file$stage,
key = key,
bucket = bucket,
metadata = list("targets-hash" = store$file$hash),
predefined_acl = store$resources$gcp$predefined_acl %|||% "private",
verbose = store$resources$gcp$verbose %|||% FALSE,
max_tries = store$resources$gcp$max_tries %|||% 5L
Expand All @@ -203,6 +202,7 @@ store_upload_object_gcp <- function(store) {
invert = TRUE
)
store$file$path <- c(path, paste0("version=", head$generation))
store$file$hash <- digest_chr64(head$md5)
invisible()
}

Expand All @@ -221,7 +221,7 @@ store_gcp_hash <- function(store) {
verbose = store$resources$gcp$verbose %|||% FALSE,
max_tries = store$resources$gcp$max_tries %|||% 5L
)
head$metadata[["targets-hash"]]
digest_chr64(head$md5)
}
# nocov end

Expand Down

0 comments on commit f5d378f

Please sign in to comment.