typofix - https://github.com/vlajos/misspell_fixer
This commit is contained in:
@@ -39,7 +39,7 @@ func recordOperation(operation string, start time.Time) {
|
||||
metrics.DockerOperationsLatency.WithLabelValues(operation).Observe(metrics.SinceInMicroseconds(start))
|
||||
}
|
||||
|
||||
// Record error for metric if an error occured.
|
||||
// Record error for metric if an error occurred.
|
||||
func recordError(operation string, err error) {
|
||||
if err != nil {
|
||||
metrics.DockerErrors.WithLabelValues(operation).Inc()
|
||||
|
@@ -1298,7 +1298,7 @@ func (dm *DockerManager) runContainerInPod(pod *api.Pod, container *api.Containe
|
||||
}
|
||||
|
||||
// currently, Docker does not have a flag by which the ndots option can be passed.
|
||||
// (A seperate issue has been filed with Docker to add a ndots flag)
|
||||
// (A separate issue has been filed with Docker to add a ndots flag)
|
||||
// The addNDotsOption call appends the ndots option to the resolv.conf file generated by docker.
|
||||
// This resolv.conf file is shared by all containers of the same pod, and needs to be modified only once per pod.
|
||||
// we modify it when the pause container is created since it is the first container created in the pod since it holds
|
||||
|
Reference in New Issue
Block a user