Skip to content

Commit

Permalink
Merge pull request kubernetes#30149 from erictune/automated-cherry-pi…
Browse files Browse the repository at this point in the history
…ck-of-#29860-upstream-release-1.3

Automatic merge from submit-queue

Automated cherry pick of kubernetes#29860

Cherry pick of kubernetes#29860 on release-1.3.
  • Loading branch information
Kubernetes Submit Queue authored Aug 5, 2016
2 parents a30f7d2 + f6cc960 commit c465ed5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/pkg/auth/authenticator/token/oidc/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"fmt"
"net/http"
"net/url"
"strings"
"time"

"github.com/coreos/go-oidc/jose"
Expand Down Expand Up @@ -112,7 +111,7 @@ func New(opts OIDCOptions) (*OIDCAuthenticator, error) {
return nil, fmt.Errorf("failed to fetch provider config after %v retries", maxRetries)
}

cfg, err = oidc.FetchProviderConfig(hc, strings.TrimSuffix(opts.IssuerURL, "/"))
cfg, err = oidc.FetchProviderConfig(hc, opts.IssuerURL)
if err == nil {
break
}
Expand Down

0 comments on commit c465ed5

Please sign in to comment.