k8s/stset/update.go
Method Updater.update
has 5 return statements (exceeds 4 allowed). Open
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 {