Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ac94a0a2
Commit
ac94a0a2
authored
Jun 27, 2018
by
WanLinghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a nit error in log
parent
28b7809d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
claims.go
pkg/serviceaccount/claims.go
+1
-1
No files found.
pkg/serviceaccount/claims.go
View file @
ac94a0a2
...
@@ -165,7 +165,7 @@ func (v *validator) Validate(_ string, public *jwt.Claims, privateObj interface{
...
@@ -165,7 +165,7 @@ func (v *validator) Validate(_ string, public *jwt.Claims, privateObj interface{
// Make sure token hasn't been invalidated by deletion of the pod
// Make sure token hasn't been invalidated by deletion of the pod
pod
,
err
:=
v
.
getter
.
GetPod
(
namespace
,
podref
.
Name
)
pod
,
err
:=
v
.
getter
.
GetPod
(
namespace
,
podref
.
Name
)
if
err
!=
nil
{
if
err
!=
nil
{
glog
.
V
(
4
)
.
Infof
(
"Could not retrieve bound
secret
%s/%s for service account %s/%s: %v"
,
namespace
,
podref
.
Name
,
namespace
,
saref
.
Name
,
err
)
glog
.
V
(
4
)
.
Infof
(
"Could not retrieve bound
pod
%s/%s for service account %s/%s: %v"
,
namespace
,
podref
.
Name
,
namespace
,
saref
.
Name
,
err
)
return
""
,
""
,
""
,
errors
.
New
(
"Token has been invalidated"
)
return
""
,
""
,
""
,
errors
.
New
(
"Token has been invalidated"
)
}
}
if
pod
.
DeletionTimestamp
!=
nil
{
if
pod
.
DeletionTimestamp
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment