lib/datadog/ci/utils/configuration.rb in datadog-ci-1.10.0 vs lib/datadog/ci/utils/configuration.rb in datadog-ci-1.11.0

- old
+ new

@@ -7,9 +7,13 @@ module Utils module Configuration def self.fetch_service_name(default) Datadog.configuration.service_without_fallback || CI::Git::LocalRepository.repository_name || default end + + def self.service_name_provided_by_user? + !!Datadog.configuration.service_without_fallback + end end end end end