diff --git a/contrib/nvidia/nvidia.go b/contrib/nvidia/nvidia.go index bf64d3014..e82a51e39 100644 --- a/contrib/nvidia/nvidia.go +++ b/contrib/nvidia/nvidia.go @@ -32,7 +32,7 @@ import ( const nvidiaCLI = "nvidia-container-cli" // Capability specifies capabilities for the gpu inside the container -// Detailed explaination of options can be found: +// Detailed explanation of options can be found: // https://github.com/nvidia/nvidia-container-runtime#supported-driver-capabilities type Capability string diff --git a/contrib/seccomp/seccomp.go b/contrib/seccomp/seccomp.go index 2a1806cf8..4619681f4 100644 --- a/contrib/seccomp/seccomp.go +++ b/contrib/seccomp/seccomp.go @@ -30,7 +30,7 @@ import ( ) // WithProfile receives the name of a file stored on disk comprising a json -// formated seccomp profile, as specified by the opencontainers/runtime-spec. +// formatted seccomp profile, as specified by the opencontainers/runtime-spec. // The profile is read from the file, unmarshaled, and set to the spec. func WithProfile(profile string) oci.SpecOpts { return func(_ context.Context, _ oci.Client, _ *containers.Container, s *specs.Spec) error { diff --git a/remotes/docker/fetcher.go b/remotes/docker/fetcher.go index 1509e696c..4a2ce3c39 100644 --- a/remotes/docker/fetcher.go +++ b/remotes/docker/fetcher.go @@ -117,7 +117,7 @@ func (r dockerFetcher) open(ctx context.Context, u, mediatype string, offset int } } else { // TODO: Should any cases where use of content range - // without the proper header be considerd? + // without the proper header be considered? // 206 responses? // Discard up to offset diff --git a/remotes/docker/httpreadseeker.go b/remotes/docker/httpreadseeker.go index 5a7778953..9175b6a7a 100644 --- a/remotes/docker/httpreadseeker.go +++ b/remotes/docker/httpreadseeker.go @@ -134,7 +134,7 @@ func (hrs *httpReadSeeker) reader() (io.Reader, error) { // There is an edge case here where offset == size of the content. If // we seek, we will probably get an error for content that cannot be // sought (?). In that case, we should err on committing the content, - // as the length is already satisified but we just return the empty + // as the length is already satisfied but we just return the empty // reader instead. hrs.rc = ioutil.NopCloser(bytes.NewReader([]byte{}))