Skip to content

Commit

Permalink
fix null decrypted credential while getting batch predict job status (#…
Browse files Browse the repository at this point in the history
…3518)

* fix null decrypted credential while getting batch predict job status

Signed-off-by: Bhavana Goud Ramaram <[email protected]>

* fix spotless

Signed-off-by: Bhavana Goud Ramaram <[email protected]>

---------

Signed-off-by: Bhavana Goud Ramaram <[email protected]>
(cherry picked from commit 5271ea6)
  • Loading branch information
rbhavna authored and github-actions[bot] committed Feb 10, 2025
1 parent 68ceab3 commit f0b07c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ private void executeConnector(

final Map<String, String> decryptedCredential = connector.getDecryptedCredential() != null
&& !connector.getDecryptedCredential().isEmpty()
? mlEngine.getConnectorCredential(connector)
: connector.getDecryptedCredential();
? connector.getDecryptedCredential()
: mlEngine.getConnectorCredential(connector);
RemoteConnectorExecutor connectorExecutor = MLEngineClassLoader.initInstance(connector.getProtocol(), connector, Connector.class);
connectorExecutor.setScriptService(scriptService);
connectorExecutor.setClusterService(clusterService);
Expand Down

0 comments on commit f0b07c0

Please sign in to comment.