gbmcweb: Restore serverCertPath and serverPrivateKeyPath default flag values Google-Bug-Id:527528182,559849016 PiperOrigin-RevId: 980029307 Change-Id: Id2b084bbd1ba3bbf742dd4abe9d341947d026290 (cherry picked from commit d5527f9cf8007691c9451815be7c7cbf21eea7ae) Signed-off-by: Collin Wright <collinwright@google.com>
diff --git a/src/webserver_main_setup.cpp b/src/webserver_main_setup.cpp index d68b906..30e1691 100644 --- a/src/webserver_main_setup.cpp +++ b/src/webserver_main_setup.cpp
@@ -8,7 +8,6 @@ #include "absl/flags/flag.h" #include "absl/types/optional.h" #include "bmcweb_config.h" -#include "server.h" #ifdef BMCWEB_ENABLE_GRPC @@ -62,11 +61,9 @@ "Enable Fast-Sanity features"); ABSL_FLAG(std::string, entity_config_location, entityConfigLocation, "Entity configuration location."); -ABSL_FLAG(std::string, server_cert_path, - milotic::RedfishServiceConfig().own_cert_path, +ABSL_FLAG(std::string, server_cert_path, serverCertPath, "Path to cert file used by gRPC server."); -ABSL_FLAG(std::string, server_private_key_path, - milotic::RedfishServiceConfig().private_key_path, +ABSL_FLAG(std::string, server_private_key_path, serverPrivateKeyPath, "Path to private key file used by gRPC server."); ABSL_FLAG(bool, enable_configure_core_count, enableConfigureCoreCount, "Enable configuring core count");