Commit 075b5fd5 authored by jashaikh's avatar jashaikh

Added Jacoco Code Coverage For Sonar.

parent f0084040
......@@ -47,7 +47,7 @@ public class AzureAppConfigService {
public String writeValueByKey(String key, String value) {
try {
LOGGER.info("Writing Single Value by key");
if(key == null || value == null)
if(key == null && value == null)
throw new Exception("Key and Value cannot be null");
ConfigurationSetting configurationSetting = configurationClient.setConfigurationSetting(key, null, value);
return configurationSetting.getValue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment