appuio/appuio-cloud-agent

View on GitHub
controllers/zoneusageprofileapply_controller.go

Summary

Maintainability
A
35 mins
Test Coverage
C
76%

Method ZoneUsageProfileApplyReconciler.applyResourceToNamespace has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (r *ZoneUsageProfileApplyReconciler) applyResourceToNamespace(ctx context.Context, name string, orgNs corev1.Namespace, resource runtime.RawExtension, profile cloudagentv1.ZoneUsageProfile) error {
Severity: Minor
Found in controllers/zoneusageprofileapply_controller.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status