File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ def header_sanitizer(response_header, transient_headers)
6565 config . configure_rspec_metadata! # Auto-detects the cassette name based on the example's full description
6666
6767 config . before_record do |i |
68- replace_token_contents ( i ) if i . request . uri == "https://iam.cloud.ibm.com/identity/token"
69- vpc_sanitizer ( i ) if i . request . uri . match? ( 'iaas. cloud.ibm' ) || i . request . uri . match? ( 'tags.global-search-tagging' )
68+ replace_token_contents ( i ) if i . request . uri . start_with? ( "https://iam.cloud.ibm.com/identity/token" )
69+ vpc_sanitizer ( i ) if i . request . uri . match? ( 'cloud.ibm' ) || i . request . uri . match? ( 'tags.global-search-tagging' )
7070 end
7171
7272 VcrSecrets . define_all_cassette_placeholders ( config , :ibm_cloud_power )
You can’t perform that action at this time.
0 commit comments