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
0e1956b7
Commit
0e1956b7
authored
Apr 19, 2019
by
SataQiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix golint failures of pkg/kubelet/checkpoint
parent
fc545587
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.golint_failures
hack/.golint_failures
+0
-1
checkpoint.go
pkg/kubelet/checkpoint/checkpoint.go
+2
-0
No files found.
hack/.golint_failures
View file @
0e1956b7
...
...
@@ -169,7 +169,6 @@ pkg/kubelet/apis/config/v1beta1
pkg/kubelet/apis/deviceplugin/v1beta1
pkg/kubelet/cadvisor
pkg/kubelet/cadvisor/testing
pkg/kubelet/checkpoint
pkg/kubelet/checkpointmanager/checksum
pkg/kubelet/checkpointmanager/testing/example_checkpoint_formats/v1
pkg/kubelet/client
...
...
pkg/kubelet/checkpoint/checkpoint.go
View file @
0e1956b7
...
...
@@ -34,6 +34,7 @@ const (
podPrefix
=
"Pod"
)
// PodCheckpoint defines the operations to retrieve pod
type
PodCheckpoint
interface
{
checkpointmanager
.
Checkpoint
GetPod
()
*
v1
.
Pod
...
...
@@ -66,6 +67,7 @@ func (cp *Data) VerifyChecksum() error {
return
cp
.
Checksum
.
Verify
(
*
cp
.
Pod
)
}
// GetPod retrieves the pod from the checkpoint
func
(
cp
*
Data
)
GetPod
()
*
v1
.
Pod
{
return
cp
.
Pod
}
...
...
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