ソースを参照

Merge pull request #33188 from allencloud/fix-nits-in-function-comments

fix typos in function comments
Doug Davis 8 年 前
コミット
5072b22c5f
2 ファイル変更2 行追加2 行削除
  1. 1 1
      client/config_update.go
  2. 1 1
      client/secret_update.go

+ 1 - 1
client/config_update.go

@@ -8,7 +8,7 @@ import (
 	"golang.org/x/net/context"
 )
 
-// ConfigUpdate attempts to updates a Config
+// ConfigUpdate attempts to update a Config
 func (cli *Client) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error {
 	query := url.Values{}
 	query.Set("version", strconv.FormatUint(version.Index, 10))

+ 1 - 1
client/secret_update.go

@@ -8,7 +8,7 @@ import (
 	"golang.org/x/net/context"
 )
 
-// SecretUpdate attempts to updates a Secret
+// SecretUpdate attempts to update a Secret
 func (cli *Client) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error {
 	query := url.Values{}
 	query.Set("version", strconv.FormatUint(version.Index, 10))