Skip to content

Commit

Permalink
Remove trailing slash in network vpc URL as Google Cloud Backend no l…
Browse files Browse the repository at this point in the history
…onger supports it.
  • Loading branch information
dspeck1 committed Aug 21, 2024
1 parent b1d661b commit 560feb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final case class VpcAndSubnetworkProjectLabelValues(vpcName: String, subnetNameO
if (vpcName.contains("/")) {
vpcName
} else {
s"projects/$ProjectIdToken/global/networks/$vpcName/"
s"projects/$ProjectIdToken/global/networks/$vpcName"

Check warning on line 15 in supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/VpcAndSubnetworkProjectLabelValues.scala

View check run for this annotation

Codecov / codecov/patch

supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/models/VpcAndSubnetworkProjectLabelValues.scala#L15

Added line #L15 was not covered by tests
}

networkNameTemplate.replace(ProjectIdToken, projectId)
Expand Down

0 comments on commit 560feb3

Please sign in to comment.