cloudfoundry-incubator/eirini

View on GitHub
migrations/adopt_pdb.go

Summary

Maintainability
A
35 mins
Test Coverage
B
85%

Method AdoptPDB.Apply has 5 return statements (exceeds 4 allowed).
Open

func (m AdoptPDB) Apply(ctx context.Context, obj runtime.Object) error {
    stSet, ok := obj.(*appsv1.StatefulSet)
    if !ok {
        return fmt.Errorf("expected *v1.StatefulSet, got: %T", obj)
    }
Severity: Major
Found in migrations/adopt_pdb.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status