mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api/types/swarm/runtime: remove module path for generating proto
It only uses the last element of the import_path to be used as package name (omitting it will pick the name of the `.proto`). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
//go:generate protoc --gogofaster_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto
|
||||
//go:generate protoc --gogofaster_out=import_path=runtime:. plugin.proto
|
||||
|
||||
package runtime
|
||||
|
||||
2
vendor/github.com/moby/moby/api/types/swarm/runtime/gen.go
generated
vendored
2
vendor/github.com/moby/moby/api/types/swarm/runtime/gen.go
generated
vendored
@@ -1,3 +1,3 @@
|
||||
//go:generate protoc --gogofaster_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto
|
||||
//go:generate protoc --gogofaster_out=import_path=runtime:. plugin.proto
|
||||
|
||||
package runtime
|
||||
|
||||
Reference in New Issue
Block a user