cloudfoundry-incubator/stratos

View on GitHub
src/jetstream/plugins/userinvite/main.go

Summary

Maintainability
A
0 mins
Test Coverage

Method UserInvite.initClientToken has 6 return statements (exceeds 4 allowed).
Wontfix

func (userinvite *UserInvite) initClientToken(context echo.Context) error {
    // Do we have a valid cf guid?
    if userinvite.portalProxy.GetConfig().CloudFoundryInfo == nil ||
        len(userinvite.portalProxy.GetConfig().CloudFoundryInfo.EndpointGUID) == 0 {
        return nil
Severity: Major
Found in src/jetstream/plugins/userinvite/main.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status