diff --git a/MAINTAINERS b/MAINTAINERS index e3bcb58151..f9a1a192a2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -309,7 +309,7 @@ made through a pull request. # - If the pull request has some small problems that need to be changed, make # a comment adressing the issues. # - If the changes needed to a PR are small, you can add a "LGTM once the - # following comments are adressed..." this will reduce needless back and + # following comments are addressed..." this will reduce needless back and # forth. # - If the PR only needs a few changes before being merged, any MAINTAINER can # make a replacement PR that incorporates the existing commits and fixes the diff --git a/ROADMAP.md b/ROADMAP.md index 7a3deaa25a..0c5e31e679 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -134,7 +134,7 @@ We won't accept patches expanding the surface of `docker exec`, which we intend ## 2.2 Dockerfile syntax -The Dockerfile syntax as we know it is simple, and has proven succesful in supporting all our +The Dockerfile syntax as we know it is simple, and has proven successful in supporting all our [official images](https://github.com/docker-library/official-images). Although this is *not* a definitive move, we temporarily won't accept more patches to the Dockerfile syntax for several reasons: diff --git a/api/server/container.go b/api/server/container.go index 48128ed6aa..ccd97b6260 100644 --- a/api/server/container.go +++ b/api/server/container.go @@ -131,7 +131,7 @@ func (s *Server) getContainersLogs(version version.Version, w http.ResponseWrite outStream := ioutils.NewWriteFlusher(w) // write an empty chunk of data (this is to ensure that the - // HTTP Response is sent immediatly, even if the container has + // HTTP Response is sent immediately, even if the container has // not yet produced any data) outStream.Write(nil) diff --git a/builder/parser/parser.go b/builder/parser/parser.go index c126b27a03..c72d9df4d8 100644 --- a/builder/parser/parser.go +++ b/builder/parser/parser.go @@ -42,7 +42,7 @@ var ( func init() { // Dispatch Table. see line_parsers.go for the parse functions. // The command is parsed and mapped to the line parser. The line parser - // recieves the arguments but not the command, and returns an AST after + // receives the arguments but not the command, and returns an AST after // reformulating the arguments according to the rules in the parser // functions. Errors are propagated up by Parse() and the resulting AST can // be incorporated directly into the existing AST as a next. diff --git a/contrib/mkseccomp.sample b/contrib/mkseccomp.sample index 7a0c8d1925..a9131e4b1a 100644 --- a/contrib/mkseccomp.sample +++ b/contrib/mkseccomp.sample @@ -31,7 +31,7 @@ * * This sample list was compiled as a combination of all the syscalls * available on i386 and amd64 on Ubuntu Precise, as such it may not contain - * everything and not everything may be relevent for your system. This + * everything and not everything may be relevant for your system. This * shouldn't be a problem. */ diff --git a/daemon/archive.go b/daemon/archive.go index c2e47187f0..dc7c8b05b8 100644 --- a/daemon/archive.go +++ b/daemon/archive.go @@ -95,7 +95,7 @@ func (container *Container) resolvePath(path string) (resolvedPath, absPath stri } // statPath is the unexported version of StatPath. Locks and mounts should -// be aquired before calling this method and the given path should be fully +// be acquired before calling this method and the given path should be fully // resolved to a path on the host corresponding to the given absolute path // inside the container. func (container *Container) statPath(resolvedPath, absPath string) (stat *types.ContainerPathStat, err error) { diff --git a/daemon/container.go b/daemon/container.go index c8cf9ef194..becf5f3d27 100644 --- a/daemon/container.go +++ b/daemon/container.go @@ -810,7 +810,7 @@ func (container *Container) Exec(execConfig *execConfig) error { } // We use a callback here instead of a goroutine and an chan for - // syncronization purposes + // synchronization purposes cErr := promise.Go(func() error { return container.monitorExec(execConfig, callback) }) // Exec should not return until the process is actually running diff --git a/daemon/container_unix.go b/daemon/container_unix.go index ef9820cd51..a728fc4245 100644 --- a/daemon/container_unix.go +++ b/daemon/container_unix.go @@ -840,7 +840,7 @@ func (container *Container) AllocateNetwork() error { if service == "" { // dot character "." has a special meaning to support SERVICE[.NETWORK] format. - // For backward compatiblity, replacing "." with "-", instead of failing + // For backward compatibility, replacing "." with "-", instead of failing service = strings.Replace(container.Name, ".", "-", -1) // Service names dont like "/" in them. removing it instead of failing for backward compatibility service = strings.Replace(service, "/", "", -1) diff --git a/daemon/execdriver/utils.go b/daemon/execdriver/utils.go index 4231ebf542..6712dafd64 100644 --- a/daemon/execdriver/utils.go +++ b/daemon/execdriver/utils.go @@ -92,7 +92,7 @@ func TweakCapabilities(basics, adds, drops []string) ([]string, error) { if !stringutils.InSlice(drops, "all") { for _, cap := range basics { - // skip `all` aready handled above + // skip `all` already handled above if strings.ToLower(cap) == "all" { continue } @@ -105,7 +105,7 @@ func TweakCapabilities(basics, adds, drops []string) ([]string, error) { } for _, cap := range adds { - // skip `all` aready handled above + // skip `all` already handled above if strings.ToLower(cap) == "all" { continue } diff --git a/daemon/graphdriver/devmapper/deviceset.go b/daemon/graphdriver/devmapper/deviceset.go index 6dddeb1849..7cb862f32e 100644 --- a/daemon/graphdriver/devmapper/deviceset.go +++ b/daemon/graphdriver/devmapper/deviceset.go @@ -70,8 +70,8 @@ type devInfo struct { // // WARNING: In order to avoid AB-BA deadlocks when releasing // the global lock while holding the per-device locks all - // device locks must be aquired *before* the device lock, and - // multiple device locks should be aquired parent before child. + // device locks must be acquired *before* the device lock, and + // multiple device locks should be acquired parent before child. lock sync.Mutex } diff --git a/daemon/graphdriver/graphtest/graphtest.go b/daemon/graphdriver/graphtest/graphtest.go index 77fd4abc25..ce99ef1ce8 100644 --- a/daemon/graphdriver/graphtest/graphtest.go +++ b/daemon/graphdriver/graphtest/graphtest.go @@ -31,7 +31,7 @@ func InitLoopbacks() error { if err != nil { return err } - // create atleast 8 loopback files, ya, that is a good number + // create at least 8 loopback files, ya, that is a good number for i := 0; i < 8; i++ { loopPath := fmt.Sprintf("/dev/loop%d", i) // only create new loopback files if they don't exist diff --git a/daemon/start.go b/daemon/start.go index 2dc05d613c..e4dc9d6126 100644 --- a/daemon/start.go +++ b/daemon/start.go @@ -21,7 +21,7 @@ func (daemon *Daemon) ContainerStart(name string, hostConfig *runconfig.HostConf return fmt.Errorf("Container already started") } - // Windows does not have the backwards compatibilty issue here. + // Windows does not have the backwards compatibility issue here. if runtime.GOOS != "windows" { // This is kept for backward compatibility - hostconfig should be passed when // creating a container, not during start. diff --git a/docker/daemon.go b/docker/daemon.go index 880bc7a35a..f751c5ae94 100644 --- a/docker/daemon.go +++ b/docker/daemon.go @@ -314,7 +314,7 @@ func shutdownDaemon(d *daemon.Daemon, timeout time.Duration) { }() select { case <-ch: - logrus.Debug("Clean shutdown succeded") + logrus.Debug("Clean shutdown succeeded") case <-time.After(timeout * time.Second): logrus.Error("Force shutdown daemon") } diff --git a/docs/reference/api/docker_remote_api_v1.20.md b/docs/reference/api/docker_remote_api_v1.20.md index 73ea4bf493..1cd05a4cb7 100644 --- a/docs/reference/api/docker_remote_api_v1.20.md +++ b/docs/reference/api/docker_remote_api_v1.20.md @@ -1086,7 +1086,7 @@ Status Codes: `HEAD /containers/(id)/archive` See the description of the `X-Docker-Container-Path-Stat` header in the -folowing section. +following section. ### Get an archive of a filesystem resource in a container diff --git a/docs/reference/api/docker_remote_api_v1.21.md b/docs/reference/api/docker_remote_api_v1.21.md index 7a3545a0e6..2ea9dbd2fd 100644 --- a/docs/reference/api/docker_remote_api_v1.21.md +++ b/docs/reference/api/docker_remote_api_v1.21.md @@ -1086,7 +1086,7 @@ Status Codes: `HEAD /containers/(id)/archive` See the description of the `X-Docker-Container-Path-Stat` header in the -folowing section. +following section. ### Get an archive of a filesystem resource in a container diff --git a/docs/security/apparmor.md b/docs/security/apparmor.md index 1e82200b6c..0743694644 100644 --- a/docs/security/apparmor.md +++ b/docs/security/apparmor.md @@ -18,7 +18,7 @@ Understand the policies The `docker-default` profile the default for running containers. It is moderately protective while -providing wide application compatability. +providing wide application compatibility. The system's standard `unconfined` profile inherits all system-wide policies, applying path-based policies diff --git a/experimental/networking.md b/experimental/networking.md index 5ff769179d..4b6610cfbe 100644 --- a/experimental/networking.md +++ b/experimental/networking.md @@ -99,7 +99,7 @@ Assuming we want to publish a service from container `a0ebc12d3e48` on network ` This would make the container `a0ebc12d3e48` accessible as `my-service` on network `foo`. Any other container in network `foo` can use DNS to resolve the address of `my-service` -This can also be acheived by using the `--publish-service` flag for `docker run`: +This can also be achieved by using the `--publish-service` flag for `docker run`: docker run -itd --publish-service db.foo postgres diff --git a/hack/make/release-rpm b/hack/make/release-rpm index 448391a649..6025e7b39e 100755 --- a/hack/make/release-rpm +++ b/hack/make/release-rpm @@ -17,7 +17,7 @@ set -e : ${DOCKER_RELEASE_DIR:=$DEST} YUMDIR=$DOCKER_RELEASE_DIR/yum/repo -# manage the repos for each distribution seperately +# manage the repos for each distribution separately distros=( fedora centos oraclelinux ) # get the release @@ -39,7 +39,7 @@ for distro in "${distros[@]}"; do version="$(basename "$dir")" suite="${version##*-}" - # if the directory does not exist, intialize the yum repo + # if the directory does not exist, initialize the yum repo if [[ ! -d $REPO/$suite/Packages ]]; then mkdir -p "$REPO/$suite/Packages" diff --git a/hack/make/test-unit b/hack/make/test-unit index 1053f61518..ae1d4ec415 100644 --- a/hack/make/test-unit +++ b/hack/make/test-unit @@ -31,7 +31,7 @@ bundle_test_unit() { ( IFS=$'\n'; echo "${BUILDFLAGS[*]}" ) > "$BUILDFLAGS_FILE" if command -v parallel &> /dev/null; then - # accomodate parallel to be able to access variables + # accommodate parallel to be able to access variables export SHELL="$BASH" export HOME="$(mktemp -d)" mkdir -p "$HOME/.parallel" diff --git a/integration-cli/docker_cli_build_test.go b/integration-cli/docker_cli_build_test.go index 599e0d4bad..dad833ac42 100644 --- a/integration-cli/docker_cli_build_test.go +++ b/integration-cli/docker_cli_build_test.go @@ -1804,8 +1804,8 @@ func (s *DockerSuite) TestBuildForceRm(c *check.C) { // * Run a 1-year-long sleep from a docker build. // * When docker events sees container start, close the "docker build" command // * Wait for docker events to emit a dying event. -func (s *DockerSuite) TestBuildCancelationKillsSleep(c *check.C) { - name := "testbuildcancelation" +func (s *DockerSuite) TestBuildCancellationKillsSleep(c *check.C) { + name := "testbuildcancellation" // (Note: one year, will never finish) ctx, err := fakeContext("FROM busybox\nRUN sleep 31536000", nil) diff --git a/integration-cli/docker_cli_cp_test.go b/integration-cli/docker_cli_cp_test.go index 64ae0b5d82..8cb00f3735 100644 --- a/integration-cli/docker_cli_cp_test.go +++ b/integration-cli/docker_cli_cp_test.go @@ -306,7 +306,7 @@ func (s *DockerSuite) TestCpFromSymlinkToDirectory(c *check.C) { os.Remove(expectedPath) // This copy command should resolve the symlink (note the trailing - // seperator), copying the target into the temporary directory. + // separator), copying the target into the temporary directory. dockerCmd(c, "cp", cleanedContainerID+":"+"/dir_link/", testDir) // It *should not* have copied the directory using the target's name, but @@ -397,7 +397,7 @@ func (s *DockerSuite) TestCpToSymlinkToDirectory(c *check.C) { os.Remove(expectedPath) // This copy command should resolve the symlink (note the trailing - // seperator), copying the target into the test volume directory in the + // separator), copying the target into the test volume directory in the // container. dockerCmd(c, "cp", localLink+"/", cleanedContainerID+":/testVol") diff --git a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_cli_daemon_test.go index 5105e0de78..3b7bd3c1a3 100644 --- a/integration-cli/docker_cli_daemon_test.go +++ b/integration-cli/docker_cli_daemon_test.go @@ -633,7 +633,7 @@ func (s *DockerDaemonSuite) TestDaemonBridgeIP(c *check.C) { // 3. Check if the bip config has taken effect using ifconfig and iptables commands // 4. Launch a Container and make sure the IP-Address is in the expected subnet // 5. Delete the docker0 Bridge - // 6. Restart the Docker Daemon (via defered action) + // 6. Restart the Docker Daemon (via deferred action) // This Restart takes care of bringing docker0 interface back to auto-assigned IP defaultNetworkBridge := "docker0" diff --git a/integration-cli/docker_cli_events_test.go b/integration-cli/docker_cli_events_test.go index 3f4adf4320..01762d9f1d 100644 --- a/integration-cli/docker_cli_events_test.go +++ b/integration-cli/docker_cli_events_test.go @@ -20,7 +20,7 @@ func (s *DockerSuite) TestEventsTimestampFormats(c *check.C) { image := "busybox" // Start stopwatch, generate an event - time.Sleep(time.Second) // so that we don't grab events from previous test occured in the same second + time.Sleep(time.Second) // so that we don't grab events from previous test occurred in the same second start := daemonTime(c) time.Sleep(time.Second) // remote API precision is only a second, wait a while before creating an event dockerCmd(c, "tag", image, "timestamptest:1") diff --git a/integration-cli/docker_cli_logs_test.go b/integration-cli/docker_cli_logs_test.go index 6c9421771b..9612fa0325 100644 --- a/integration-cli/docker_cli_logs_test.go +++ b/integration-cli/docker_cli_logs_test.go @@ -184,7 +184,7 @@ func (s *DockerSuite) TestLogsSince(c *check.C) { out, _ := dockerCmd(c, "run", "--name="+name, "busybox", "/bin/sh", "-c", "for i in $(seq 1 3); do sleep 2; echo `date +%s` log$i; done") log2Line := strings.Split(strings.Split(out, "\n")[1], " ") - t, err := strconv.ParseInt(log2Line[0], 10, 64) // the timestamp log2 is writen + t, err := strconv.ParseInt(log2Line[0], 10, 64) // the timestamp log2 is written c.Assert(err, check.IsNil) since := t + 1 // add 1s so log1 & log2 doesn't show up out, _ = dockerCmd(c, "logs", "-t", fmt.Sprintf("--since=%v", since), name) diff --git a/integration-cli/docker_cli_run_test.go b/integration-cli/docker_cli_run_test.go index 7c84210ed3..06af6b59f1 100644 --- a/integration-cli/docker_cli_run_test.go +++ b/integration-cli/docker_cli_run_test.go @@ -1032,7 +1032,7 @@ func (s *DockerSuite) TestRunDnsOptionsBasedOnHostResolvConf(c *check.C) { } // Test to see if a non-root user can resolve a DNS name and reach out to it. Also -// check if the container resolv.conf file has atleast 0644 perm. +// check if the container resolv.conf file has at least 0644 perm. func (s *DockerSuite) TestRunNonRootUserResolvName(c *check.C) { testRequires(c, SameHostDaemon, Network) @@ -1050,7 +1050,7 @@ func (s *DockerSuite) TestRunNonRootUserResolvName(c *check.C) { } if (finfo.Mode() & fmode) != fmode { - c.Fatalf("Expected container resolv.conf mode to be atleast %s, instead got %s", fmode.String(), finfo.Mode().String()) + c.Fatalf("Expected container resolv.conf mode to be at least %s, instead got %s", fmode.String(), finfo.Mode().String()) } } diff --git a/integration-cli/docker_cli_tag_test.go b/integration-cli/docker_cli_tag_test.go index 4e0d5f95bc..5791eae36d 100644 --- a/integration-cli/docker_cli_tag_test.go +++ b/integration-cli/docker_cli_tag_test.go @@ -105,7 +105,7 @@ func (s *DockerSuite) TestTagWithPrefixHyphen(c *check.C) { if err == nil || !strings.Contains(out, "repository name component must match") { c.Fatal("tag a name begin with '-' should failed") } - // test index name begin wiht '-' + // test index name begin with '-' out, _, err = dockerCmdWithError("tag", "busybox:latest", "-index:5000/busybox:test") if err == nil || !strings.Contains(out, "Invalid index name (-index:5000). Cannot begin or end with a hyphen") { c.Fatal("tag a name begin with '-' should failed") diff --git a/integration-cli/docker_utils.go b/integration-cli/docker_utils.go index c8b0d3808b..9cd33a83b3 100644 --- a/integration-cli/docker_utils.go +++ b/integration-cli/docker_utils.go @@ -32,7 +32,7 @@ import ( // Daemon represents a Docker daemon for the testing framework. type Daemon struct { // Defaults to "daemon" - // Useful to set to --daemon or -d for checking backwards compatability + // Useful to set to --daemon or -d for checking backwards compatibility Command string GlobalFlags []string diff --git a/pkg/archive/copy.go b/pkg/archive/copy.go index 0fd5830091..a7ed12c1b3 100644 --- a/pkg/archive/copy.go +++ b/pkg/archive/copy.go @@ -306,7 +306,7 @@ func PrepareArchiveCopy(srcContent Reader, srcInfo, dstInfo CopyInfo) (dstDir st } // rebaseArchiveEntries rewrites the given srcContent archive replacing -// an occurance of oldBase with newBase at the beginning of entry names. +// an occurrence of oldBase with newBase at the beginning of entry names. func rebaseArchiveEntries(srcContent Reader, oldBase, newBase string) Archive { if oldBase == string(os.PathSeparator) { // If oldBase specifies the root directory, use an empty string as diff --git a/pkg/archive/diff.go b/pkg/archive/diff.go index 23130a6118..50656cb5fd 100644 --- a/pkg/archive/diff.go +++ b/pkg/archive/diff.go @@ -58,7 +58,7 @@ func UnpackLayer(dest string, layer Reader) (size int64, err error) { // TODO Windows. Once the registry is aware of what images are Windows- // specific or Linux-specific, this warning should be changed to an error // to cater for the situation where someone does manage to upload a Linux - // image but have it tagged as Windows inadvertantly. + // image but have it tagged as Windows inadvertently. if runtime.GOOS == "windows" { if strings.Contains(hdr.Name, ":") { logrus.Warnf("Windows: Ignoring %s (is this a Linux image?)", hdr.Name) diff --git a/pkg/graphdb/graphdb.go b/pkg/graphdb/graphdb.go index 2bfb52fda4..eca433fa85 100644 --- a/pkg/graphdb/graphdb.go +++ b/pkg/graphdb/graphdb.go @@ -307,7 +307,7 @@ func (db *Database) Parents(name string) ([]string, error) { return db.parents(e) } -// Refs returns the refrence count for a specified id. +// Refs returns the reference count for a specified id. func (db *Database) Refs(id string) int { db.mux.RLock() defer db.mux.RUnlock() diff --git a/pkg/graphdb/graphdb_test.go b/pkg/graphdb/graphdb_test.go index 6912ab607e..b9d2d63f32 100644 --- a/pkg/graphdb/graphdb_test.go +++ b/pkg/graphdb/graphdb_test.go @@ -243,7 +243,7 @@ func TestAddSelfAsChild(t *testing.T) { } } -func TestAddChildToNonExistantRoot(t *testing.T) { +func TestAddChildToNonExistentRoot(t *testing.T) { db, dbpath := newTestDb(t) defer destroyTestDb(dbpath) diff --git a/pkg/ioutils/readers.go b/pkg/ioutils/readers.go index 10ebcb5ed7..6b03210d66 100644 --- a/pkg/ioutils/readers.go +++ b/pkg/ioutils/readers.go @@ -233,7 +233,7 @@ func HashData(src io.Reader) (string, error) { } // OnEOFReader wraps a io.ReadCloser and a function -// the fuction will run at the end of file or close the file. +// the function will run at the end of file or close the file. type OnEOFReader struct { Rc io.ReadCloser Fn func() diff --git a/pkg/mflag/flag.go b/pkg/mflag/flag.go index fa8b0458a3..dd3188462c 100644 --- a/pkg/mflag/flag.go +++ b/pkg/mflag/flag.go @@ -1094,7 +1094,7 @@ func (fs *FlagSet) ParseFlags(args []string, withHelp bool) error { } // ReportError is a utility method that prints a user-friendly message -// containing the error that occured during parsing and a suggestion to get help +// containing the error that occurred during parsing and a suggestion to get help func (fs *FlagSet) ReportError(str string, withHelp bool) { if withHelp { if os.Args[0] == fs.Name() { diff --git a/pkg/namesgenerator/names-generator.go b/pkg/namesgenerator/names-generator.go index fbb990874f..8154f28a9c 100644 --- a/pkg/namesgenerator/names-generator.go +++ b/pkg/namesgenerator/names-generator.go @@ -107,7 +107,7 @@ var ( // Homi J Bhabha - was an Indian nuclear physicist, founding director, and professor of physics at the Tata Institute of Fundamental Research. Colloquially known as "father of Indian nuclear programme"- https://en.wikipedia.org/wiki/Homi_J._Bhabha "bhabha", - // Bhaskara II - Ancient Indian mathematician-astronomer whose work on calculus predates Newton and Leibniz by over half a millenium - https://en.wikipedia.org/wiki/Bh%C4%81skara_II#Calculus + // Bhaskara II - Ancient Indian mathematician-astronomer whose work on calculus predates Newton and Leibniz by over half a millennium - https://en.wikipedia.org/wiki/Bh%C4%81skara_II#Calculus "bhaskara", // Elizabeth Blackwell - American doctor and first American woman to receive a medical degree - https://en.wikipedia.org/wiki/Elizabeth_Blackwell diff --git a/pkg/stdcopy/stdcopy_test.go b/pkg/stdcopy/stdcopy_test.go index a9fd73a49e..7351ce0ebc 100644 --- a/pkg/stdcopy/stdcopy_test.go +++ b/pkg/stdcopy/stdcopy_test.go @@ -45,7 +45,7 @@ func TestWrite(t *testing.T) { t.Fatalf("Error while writing with StdWrite") } if n != len(data) { - t.Fatalf("Write should have writen %d byte but wrote %d.", len(data), n) + t.Fatalf("Write should have written %d byte but wrote %d.", len(data), n) } } diff --git a/pkg/tailfile/tailfile.go b/pkg/tailfile/tailfile.go index 83b852c691..d580584d61 100644 --- a/pkg/tailfile/tailfile.go +++ b/pkg/tailfile/tailfile.go @@ -1,4 +1,4 @@ -// Package tailfile provides helper functinos to read the nth lines of any +// Package tailfile provides helper functions to read the nth lines of any // ReadSeeker. package tailfile diff --git a/pkg/term/windows/ansi_reader.go b/pkg/term/windows/ansi_reader.go index 53becb01c9..1246e8be2d 100644 --- a/pkg/term/windows/ansi_reader.go +++ b/pkg/term/windows/ansi_reader.go @@ -86,7 +86,7 @@ func (ar *ansiReader) Read(p []byte) (int, error) { ar.buffer = keyBytes[len(p):] keyBytes = keyBytes[:len(p)] } else if len(keyBytes) == 0 { - logger.Debug("No key bytes returned from the translater") + logger.Debug("No key bytes returned from the translator") return 0, nil } diff --git a/project/REVIEWING.md b/project/REVIEWING.md index 63d8173a69..5a1872252d 100644 --- a/project/REVIEWING.md +++ b/project/REVIEWING.md @@ -7,7 +7,7 @@ Labels are carefully picked to optimize for: - Readability: maintainers must immediately know the state of a PR - Filtering simplicity: different labels represent many different aspects of - the reviewing work, and can even be targetted at different maintainers groups. + the reviewing work, and can even be targeted at different maintainers groups. A pull request should only be attributed labels documented in this section: other labels that may exist on the repository should apply to issues. diff --git a/registry/service.go b/registry/service.go index 0f6656292c..3637b4b59b 100644 --- a/registry/service.go +++ b/registry/service.go @@ -28,7 +28,7 @@ func NewService(options *Options) *Service { } // Auth contacts the public registry with the provided credentials, -// and returns OK if authentication was sucessful. +// and returns OK if authentication was successful. // It can be used to verify the validity of a client's credentials. func (s *Service) Auth(authConfig *cliconfig.AuthConfig) (string, error) { addr := authConfig.ServerAddress