Merge pull request #37861 from TinySong/fix-typo

fix typos in service.go and plugin.go
This commit is contained in:
Sebastiaan van Stijn 2018-09-18 12:48:37 +02:00 committed by GitHub
commit d6a7c22f7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ func ServiceSpecToGRPC(s types.ServiceSpec) (swarmapi.ServiceSpec, error) {
}
case types.RuntimeNetworkAttachment:
// NOTE(dperny) I'm leaving this case here for completeness. The actual
// code is left out out deliberately, as we should refuse to parse a
// code is left out deliberately, as we should refuse to parse a
// Network Attachment runtime; it will cause weird behavior all over
// the system if we do. Instead, fallthrough and return
// ErrUnsupportedRuntime if we get one.

View file

@ -17,7 +17,7 @@ import (
"github.com/pkg/errors"
)
// CreateOpt is is passed used to change the default plugin config before
// CreateOpt is passed used to change the default plugin config before
// creating it
type CreateOpt func(*Config)