Skip to content

Commit

Permalink
print correct hash code
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto committed Jan 15, 2025
1 parent 1642206 commit 268020b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3224,7 +3224,7 @@ public static void processTemplateFilesZip(byte[] zipFile, String author, String
loggerMaker.infoAndAddToDb("Trying to add test yaml: " + testConfigId + " existingTemplatesInDb size: " + existingTemplatesInDb.size(), LogDb.DASHBOARD);

int existingTemplateHash = existingTemplatesInDb.get(0).getHash();
loggerMaker.infoAndAddToDb("Hashes: " + testConfigId + " hashDB: " + existingTemplateHash + " template: " + existingTemplateHash, LogDb.DASHBOARD);
loggerMaker.infoAndAddToDb("Hashes: " + testConfigId + " hashDB: " + existingTemplateHash + " template: " + templateContent.hashCode(), LogDb.DASHBOARD);

if (existingTemplateHash == templateContent.hashCode()) {
countUnchangedTemplates++;
Expand Down

0 comments on commit 268020b

Please sign in to comment.