Closed muschellij2 closed 2 years ago
The line https://github.com/MarkEdmondson1234/googleCloudRunner/blob/3e09c48501cee76e0aeae15affd13e2bdfa29acb/R/cloudbuild_schedule.R#L287 overrides https://github.com/MarkEdmondson1234/googleCloudRunner/blob/3e09c48501cee76e0aeae15affd13e2bdfa29acb/R/cloudbuild_schedule.R#L281 and the_data is overwritten even if PubsubMessage is passed through and data = NULL
the_data
PubsubMessage
data = NULL
Ah great thanks! Wrong order in there, I think should be fixed now?
The line https://github.com/MarkEdmondson1234/googleCloudRunner/blob/3e09c48501cee76e0aeae15affd13e2bdfa29acb/R/cloudbuild_schedule.R#L287 overrides https://github.com/MarkEdmondson1234/googleCloudRunner/blob/3e09c48501cee76e0aeae15affd13e2bdfa29acb/R/cloudbuild_schedule.R#L281 and
the_data
is overwritten even ifPubsubMessage
is passed through anddata = NULL