MCPcopy Create free account
hub / github.com/apache/mesos / foreachpair

Function foreachpair

3rdparty/libprocess/src/openssl.cpp:461–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459 map<string, Option<string>> environments =
460 ssl_flags->extract("LIBPROCESS_SSL_");
461 foreachpair (
462 const string& key, const Option<string>& value, environment_ssl) {
463 if (environments.count(key) > 0 && environments.at(key) != value) {
464 LOG(WARNING) << "Mismatched values for SSL environment variables "
465 << "SSL_" << key << " and "
466 << "LIBPROCESS_SSL_" << key;
467 }
468 }
469 environments.insert(environment_ssl.begin(), environment_ssl.end());
470
471 Try<flags::Warnings> load = ssl_flags->load(environments);

Callers

nothing calls this directly

Calls 2

atMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected