fix typos in service.go and plugin.go
Signed-off-by: song <tinysong1226@gmail.com> Signed-off-by: Rongxiang Song <tinysong1226@gmail.com>
This commit is contained in:
parent
3735ea7b76
commit
c80e20f93f
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