Skip to content

Commit

Permalink
Removing validation of user agent prefix and user agent suffix from t…
Browse files Browse the repository at this point in the history
…esting, since client no longer depends on those values to be an empty string
  • Loading branch information
cenedhryn committed Sep 13, 2024
1 parent fcb336d commit 89e1619
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ private static void validateClientOptions(SdkClientConfiguration c) {
require("overrideConfiguration.additionalHttpHeaders", c.option(SdkClientOption.ADDITIONAL_HTTP_HEADERS));
require("overrideConfiguration.executionInterceptors", c.option(SdkClientOption.EXECUTION_INTERCEPTORS));
require("overrideConfiguration.retryStrategy", c.option(SdkClientOption.RETRY_STRATEGY));

require("overrideConfiguration.advancedOption[USER_AGENT_PREFIX]",
c.option(SdkAdvancedClientOption.USER_AGENT_PREFIX));
require("overrideConfiguration.advancedOption[USER_AGENT_SUFFIX]",
c.option(SdkAdvancedClientOption.USER_AGENT_SUFFIX));
require("overrideConfiguration.advancedOption[CRC32_FROM_COMPRESSED_DATA_ENABLED]",
c.option(SdkClientOption.CRC32_FROM_COMPRESSED_DATA_ENABLED));
}
Expand Down

0 comments on commit 89e1619

Please sign in to comment.