From bc63fe3e4751e8f990a08151cdad8175abbf0c7b Mon Sep 17 00:00:00 2001 From: Gibson Chikafa Date: Tue, 3 Oct 2023 08:14:39 +0200 Subject: [PATCH] [HWORKS-759][APPEND] Fix HWORKS-759: Show custom commands file that was used to build the environment in the environment history (#1570) (#1405) --- .../hops/hopsworks/common/python/library/LibraryInstaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hopsworks-common/src/main/java/io/hops/hopsworks/common/python/library/LibraryInstaller.java b/hopsworks-common/src/main/java/io/hops/hopsworks/common/python/library/LibraryInstaller.java index ce0db8bb5d..0f42d93d48 100644 --- a/hopsworks-common/src/main/java/io/hops/hopsworks/common/python/library/LibraryInstaller.java +++ b/hopsworks-common/src/main/java/io/hops/hopsworks/common/python/library/LibraryInstaller.java @@ -185,7 +185,7 @@ public void isAlive() { allCondaCommandsNewByProject.get(project).sort(ASC_COMPARATOR); CondaCommands commandToExecute = allCondaCommandsNewByProject.get(project).get(0); // check if it was not deleted... - if (condaCommandFacade.findCondaCommand(commandToExecute.getId()) != null) { + if (condaCommandFacade.findCondaCommand(commandToExecute.getId()) == null) { LOG.log(Level.FINE, "Command with ID " + commandToExecute.getId() + " not found, skipping..."); } else { commandsController.updateCondaCommandStatus(