Skip to content

Commit

Permalink
use isMetered instead of localdeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Jan 15, 2025
1 parent a65be9d commit e195b92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3357,7 +3357,7 @@ public static void processTemplateFilesZip(byte[] zipFile, String author, String
if (testConfig != null) {
boolean hasSettings = testConfig.getAttributes() != null;

if (hasSettings && !testConfig.getAttributes().getPlan().equals(TemplatePlan.FREE) && DashboardMode.isLocalDeployment()) {
if (hasSettings && !testConfig.getAttributes().getPlan().equals(TemplatePlan.FREE) && !DashboardMode.isMetered()) {
skipped++;
continue;
}
Expand Down

0 comments on commit e195b92

Please sign in to comment.