You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtImportConvertedInstanceCommandWrapper.java
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/test/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtImportConvertedInstanceCommandWrapperTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,7 @@ public void testSanitizeDisksPath() {
Copy file name to clipboardExpand all lines: server/src/main/java/com/cloud/network/firewall/FirewallManagerImpl.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -498,38 +498,38 @@ protected boolean checkIfRulesHaveConflictingPortRanges(FirewallRule newRule, Fi
498
498
StringrulesAsString = String.format("[%s] and [%s]", rule, newRule);
499
499
500
500
if (oneOfRulesIsFirewall) {
501
-
s_logger.debug(String.format("Only one of the rules (%s) is firewall; therefore, their port ranges will not conflict.",
501
+
logger.debug(String.format("Only one of the rules (%s) is firewall; therefore, their port ranges will not conflict.",
502
502
rulesAsString));
503
503
returnfalse;
504
504
}
505
505
506
506
if ((bothRulesFirewall || bothRulesPortForwarding) && !duplicatedCidrs) {
507
-
s_logger.debug(String.format("Both rules (%s) are firewall/port forwarding, but they do not have duplicated CIDRs; therefore, their port ranges will not conflict.",
507
+
logger.debug(String.format("Both rules (%s) are firewall/port forwarding, but they do not have duplicated CIDRs; therefore, their port ranges will not conflict.",
508
508
rulesAsString));
509
509
returnfalse;
510
510
}
511
511
512
512
if (rule.getSourcePortStart() <= newRule.getSourcePortStart() && rule.getSourcePortEnd() >= newRule.getSourcePortStart()) {
513
-
s_logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
513
+
logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
514
514
returntrue;
515
515
}
516
516
517
517
if (rule.getSourcePortStart() <= newRule.getSourcePortEnd() && rule.getSourcePortEnd() >= newRule.getSourcePortEnd()) {
518
-
s_logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
518
+
logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
519
519
returntrue;
520
520
}
521
521
522
522
if (newRule.getSourcePortStart() <= rule.getSourcePortStart() && newRule.getSourcePortEnd() >= rule.getSourcePortStart()) {
523
-
s_logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
523
+
logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
524
524
returntrue;
525
525
}
526
526
527
527
if (newRule.getSourcePortStart() <= rule.getSourcePortEnd() && newRule.getSourcePortEnd() >= rule.getSourcePortEnd()) {
528
-
s_logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
528
+
logger.debug(String.format("Rules (%s) have conflicting port ranges.", rulesAsString));
529
529
returntrue;
530
530
}
531
531
532
-
s_logger.debug(String.format("Rules (%s) do not have conflicting port ranges.", rulesAsString));
532
+
logger.debug(String.format("Rules (%s) do not have conflicting port ranges.", rulesAsString));
0 commit comments