cloudfoundry-incubator/eirini

View on GitHub
k8s/stset/update.go

Summary

Maintainability
A
35 mins
Test Coverage
A
93%

Method Updater.update has 5 return statements (exceeds 4 allowed).
Open

func (u *Updater) update(ctx context.Context, lrp *api.LRP) error {
    logger := u.logger.Session("update", lager.Data{"guid": lrp.GUID, "version": lrp.Version})

    statefulSet, err := u.getStatefulSet(ctx, api.LRPIdentifier{GUID: lrp.GUID, Version: lrp.Version})
    if err != nil {
Severity: Major
Found in k8s/stset/update.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status