Since the protos are only loaded when the serve command is invoked, move the constant alias definitions into an isolated file so they are only loaded when needed by the serve command
9 lines
212 B
Ruby
9 lines
212 B
Ruby
module VagrantPlugins
|
|
module CommandServe
|
|
# Simple constant aliases to reduce namespace typing
|
|
SDK = Hashicorp::Vagrant::Sdk
|
|
SRV = Hashicorp::Vagrant
|
|
Empty = ::Google::Protobuf::Empty
|
|
end
|
|
end
|