Skip to content

Commit 593f29e

Browse files
committed
updated migration check to be less than 200 characters per line (lint failed)
1 parent f79188b commit 593f29e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/azure-npm-to-cilium-validator/azure-npm-to-cilium-validator.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ func printMigrationSummary(namespaces *corev1.NamespaceList, policiesByNamespace
355355
printUnsafeServices(&unsafeServicesAtRisk, &unsafeNoSelectorServices)
356356

357357
fmt.Println("+------------------------------+-------------------------------+")
358-
if len(ingressEndportNetworkPolicy) > 0 || len(egressEndportNetworkPolicy) > 0 || len(ingressPoliciesWithCIDR) > 0 || len(egressPoliciesWithCIDR) > 0 || len(egressPolicies) > 0 || len(unsafeServicesAtRisk) > 0 {
358+
if len(ingressEndportNetworkPolicy) > 0 || len(egressEndportNetworkPolicy) > 0 ||
359+
len(ingressPoliciesWithCIDR) > 0 || len(egressPoliciesWithCIDR) > 0 ||
360+
len(egressPolicies) > 0 || len(unsafeServicesAtRisk) > 0 {
359361
fmt.Println("\033[31m✘ Review above issues before migration.\033[0m")
360362
fmt.Println("Please see \033[32maka.ms/azurenpmtocilium\033[0m for instructions on how to evaluate/assess the above warnings marked by ❌.")
361363
fmt.Println("NOTE: rerun this script if any modifications (create/update/delete) are made to services or policies.")

0 commit comments

Comments
 (0)