Просмотр исходного кода

Merge pull request #37783 from tossmilestone/fix-typo-changelog

Fix various spell errors
Sebastiaan van Stijn 6 лет назад
Родитель
Сommit
4b18f8c4bf
4 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      CHANGELOG.md
  2. 1 1
      api/types/stats.go
  3. 1 1
      cmd/dockerd/daemon.go
  4. 1 1
      integration/service/create_test.go

+ 1 - 1
CHANGELOG.md

@@ -99,7 +99,7 @@ be found.
 * Add `--format` option to `docker node ls` [#30424](https://github.com/docker/docker/pull/30424)
 * Add `--prune` option to `docker stack deploy` to remove services that are no longer defined in the docker-compose file [#31302](https://github.com/docker/docker/pull/31302)
 * Add `PORTS` column for `docker service ls` when using `ingress` mode [#30813](https://github.com/docker/docker/pull/30813)
-- Fix unnescessary re-deploying of tasks when environment-variables are used [#32364](https://github.com/docker/docker/pull/32364)
+- Fix unnecessary re-deploying of tasks when environment-variables are used [#32364](https://github.com/docker/docker/pull/32364)
 - Fix `docker stack deploy` not supporting `endpoint_mode` when deploying from a docker compose file  [#32333](https://github.com/docker/docker/pull/32333)
 - Proceed with startup if cluster component cannot be created to allow recovering from a broken swarm setup [#31631](https://github.com/docker/docker/pull/31631)
 

+ 1 - 1
api/types/stats.go

@@ -120,7 +120,7 @@ type NetworkStats struct {
 	RxBytes uint64 `json:"rx_bytes"`
 	// Packets received. Windows and Linux.
 	RxPackets uint64 `json:"rx_packets"`
-	// Received errors. Not used on Windows. Note that we dont `omitempty` this
+	// Received errors. Not used on Windows. Note that we don't `omitempty` this
 	// field as it is expected in the >=v1.21 API stats structure.
 	RxErrors uint64 `json:"rx_errors"`
 	// Incoming packets dropped. Windows and Linux.

+ 1 - 1
cmd/dockerd/daemon.go

@@ -180,7 +180,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
 
 	d.StoreHosts(hosts)
 
-	// validate after NewDaemon has restored enabled plugins. Dont change order.
+	// validate after NewDaemon has restored enabled plugins. Don't change order.
 	if err := validateAuthzPlugins(cli.Config.AuthorizationPlugins, pluginStore); err != nil {
 		return errors.Wrap(err, "failed to validate authorization plugin")
 	}

+ 1 - 1
integration/service/create_test.go

@@ -135,7 +135,7 @@ func TestCreateWithDuplicateNetworkNames(t *testing.T) {
 		network.WithDriver("bridge"),
 	)
 
-	// Dupliates with name but with different driver
+	// Duplicates with name but with different driver
 	n3 := network.CreateNoError(t, context.Background(), client, name,
 		network.WithDriver("overlay"),
 	)