Skip to content

Commit

Permalink
Fixing environment name for client telemtry for daily ctl (#22364)
Browse files Browse the repository at this point in the history
  • Loading branch information
simplynaveen20 authored Jun 17, 2021
1 parent dcaa107 commit 5e7f1b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private Mono<Void> sendClientTelemetry() {
this.globalDatabaseAccountName);
httpHeaders.set(HttpConstants.HttpHeaders.AUTHORIZATION, authorization);
String envName = Configs.getEnvironmentName();
if (StringUtils.isEmpty(envName)) {
if (StringUtils.isNotEmpty(envName)) {
httpHeaders.set(HttpConstants.HttpHeaders.ENVIRONMENT_NAME, envName);
}

Expand Down

0 comments on commit 5e7f1b2

Please sign in to comment.