Merge pull request #76633 from xichengliudui/little-bug
Small bug: Comments and function names do not match
This commit is contained in:
		@@ -331,7 +331,7 @@ func (ds *dockerService) Version(_ context.Context, r *runtimeapi.VersionRequest
 | 
			
		||||
	}, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// dockerVersion gets the version information from docker.
 | 
			
		||||
// getDockerVersion gets the version information from docker.
 | 
			
		||||
func (ds *dockerService) getDockerVersion() (*dockertypes.Version, error) {
 | 
			
		||||
	v, err := ds.client.Version()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 
 | 
			
		||||
@@ -43,7 +43,7 @@ const DefaultPluginName = "kubernetes.io/no-op"
 | 
			
		||||
const NET_PLUGIN_EVENT_POD_CIDR_CHANGE = "pod-cidr-change"
 | 
			
		||||
const NET_PLUGIN_EVENT_POD_CIDR_CHANGE_DETAIL_CIDR = "pod-cidr"
 | 
			
		||||
 | 
			
		||||
// Plugin is an interface to network plugins for the kubelet
 | 
			
		||||
// NetworkPlugin is an interface to network plugins for the kubelet
 | 
			
		||||
type NetworkPlugin interface {
 | 
			
		||||
	// Init initializes the plugin.  This will be called exactly once
 | 
			
		||||
	// before any other methods are called.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user