Skip to content

Commit

Permalink
[TPU Provisioner Admission Controller] Update comment (GoogleCloudPla…
Browse files Browse the repository at this point in the history
…tform#692)

update comment
  • Loading branch information
danielvegamyhre authored May 29, 2024
1 parent bca9b96 commit 36fa5c8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
test_job_name = "test-job"
test_job_ns = "default"

# RFC 6901: escaped forward slash '/' in JSON pointer is encoded as '~1': https://datatracker.ietf.org/doc/html/rfc6901#section-3
# This is cleaned up before sending the AdmissionReview back to the apiserver, but these unit tests
# validate the JsonPatch objects themselves, before cleanup.
# RFC 6901: escaped forward slash '/' in JSONPatch is encoded as '~1': https://datatracker.ietf.org/doc/html/rfc6901#section-3
escaped_reservation_label = reservation_name_label.replace('/', '~1')
escaped_gke_spot_label = gke_spot_label.replace('/', '~1')
escaped_gke_location_hint_label = gke_location_hint_label.replace('/', '~1')
Expand Down

0 comments on commit 36fa5c8

Please sign in to comment.