Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantpuppala committed Apr 19, 2024
1 parent a7888d5 commit 99e73ed
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ public void setValueOnConfig(DatabricksConfig cfg, String value) throws IllegalA
} else if (field.getType() == boolean.class) {
field.set(cfg, Boolean.parseBoolean(value));
} else if (field.getType() == ProxyConfig.ProxyAuthType.class) {
field.set(cfg, ProxyConfig.ProxyAuthType.valueOf(value));
if (value != null) {
field.set(cfg, ProxyConfig.ProxyAuthType.valueOf(value));
}
}
field.setAccessible(false);
}
Expand Down

0 comments on commit 99e73ed

Please sign in to comment.