Merge pull request #37861 from TinySong/fix-typo
fix typos in service.go and plugin.go
This commit is contained in:
commit
d6a7c22f7b
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
2
internal/test/fixtures/plugin/plugin.go
vendored
2
internal/test/fixtures/plugin/plugin.go
vendored
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue