Skip to content

Commit 49a2b1f

Browse files
committed
Small bug: Comments and function names do not match
add a function
1 parent ed2bdd5 commit 49a2b1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/kubelet/dockershim/docker_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func (ds *dockerService) Version(_ context.Context, r *runtimeapi.VersionRequest
331331
}, nil
332332
}
333333

334-
// dockerVersion gets the version information from docker.
334+
// getDockerVersion gets the version information from docker.
335335
func (ds *dockerService) getDockerVersion() (*dockertypes.Version, error) {
336336
v, err := ds.client.Version()
337337
if err != nil {

pkg/kubelet/dockershim/network/plugins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const DefaultPluginName = "kubernetes.io/no-op"
4343
const NET_PLUGIN_EVENT_POD_CIDR_CHANGE = "pod-cidr-change"
4444
const NET_PLUGIN_EVENT_POD_CIDR_CHANGE_DETAIL_CIDR = "pod-cidr"
4545

46-
// Plugin is an interface to network plugins for the kubelet
46+
// NetworkPlugin is an interface to network plugins for the kubelet
4747
type NetworkPlugin interface {
4848
// Init initializes the plugin. This will be called exactly once
4949
// before any other methods are called.

0 commit comments

Comments
 (0)