appuio/appuio-cloud-agent

View on GitHub
controllers/ratio_controller.go

Summary

Maintainability
A
1 hr
Test Coverage
B
83%

Method RatioReconciler.warnNamespace has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (r *RatioReconciler) warnNamespace(ctx context.Context, name string, nsRatio *ratio.Ratio, sel string, limit *resource.Quantity) error {
Severity: Minor
Found in controllers/ratio_controller.go - About 35 mins to fix

    Method RatioReconciler.warnPod has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (r *RatioReconciler) warnPod(ctx context.Context, name, namespace string, nsRatio *ratio.Ratio, sel string, limit *resource.Quantity) error {
    Severity: Minor
    Found in controllers/ratio_controller.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status