lib/google/cloud/logging/middleware.rb in google-cloud-logging-2.3.3 vs lib/google/cloud/logging/middleware.rb in google-cloud-logging-2.4.0
- old
+ new
@@ -286,10 +286,10 @@
end
##
# Fallback to default configuration values if not defined already
def init_default_config
- configuration.project_id ||= (Cloud.configure.project_id || Logging.default_project_id)
+ configuration.project_id ||= Cloud.configure.project_id || Logging.default_project_id
configuration.credentials ||= Cloud.configure.credentials
configuration.log_name ||= DEFAULT_LOG_NAME
configuration.log_name_map ||= DEFAULT_LOG_NAME_MAP
end