MCPcopy Create free account
hub / github.com/apache/impala / validate_pem_bundle_string

Function validate_pem_bundle_string

be/src/observe/otel-flags-trace.cc:121–130  ·  view source on GitHub ↗

Start of TLS related flags.

Source from the content-addressed store, hash-verified

119// Start of TLS related flags.
120//
121static bool validate_pem_bundle_string(const char* flagname, const string& value) {
122 impala::Status s = impala::ValidatePemBundle(value);
123
124 if (!s.ok()) {
125 LOG(ERROR) << "Flag '" << flagname << " failed validation: " << s.GetDetail();
126 return false;
127 }
128
129 return true;
130} // function validate_pem_bundle_string
131
132DEFINE_string(otel_trace_ca_cert_path, "", "Path to a file containing CA certificates "
133 "bundle. Combined with 'otel_trace_ca_cert_string' if both are specified. ");

Callers 1

Calls 3

ValidatePemBundleFunction · 0.85
GetDetailMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected