Fix input type for duration mapping

This commit is contained in:
Chris Roberts 2022-02-07 14:27:27 -08:00 committed by Paul Hinze
parent 32c77ef96a
commit 5609a32af0
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -36,7 +36,7 @@ module VagrantPlugins
class DurationToProto < Mapper
def initialize
super(
inputs: [Input.new(type: SDK::Args::TimeDuration)],
inputs: [Input.new(type: Type::Duration)],
output: SDK::Args::TimeDuration,
func: method(:converter),
)