Adrien Delorme
819329228a
Change back to make sure all durations are a time.Duration
...
It is simply the best/simplest solution and trying to prevent users from passing and integer here would be like opening a can of worms. Because:
* we cannot make mapstructure validate our duration string ( with an UnmarshalJSON func etc.)
* we cannot make mapstructure spit a string instead of a duration and packer will decode-encode-decode config.
* the hcl2 generated code asks for a string, so this will be enforced by default.
2019-10-31 16:12:07 +01:00
..
2019-04-08 20:09:01 +02:00
2019-10-15 12:56:42 +02:00
2019-06-10 11:30:52 -07:00
2019-01-09 16:30:43 +01:00
2018-08-08 10:04:28 -05:00
2014-09-22 11:15:47 +01:00
2014-09-22 11:15:47 +01:00
2019-04-08 20:09:01 +02:00
2019-09-24 16:08:15 -07:00
2019-04-03 15:55:55 +02:00
2013-11-02 22:31:12 -05:00
2019-04-03 15:55:54 +02:00
2019-03-13 12:11:58 +01:00
2019-03-28 13:17:15 -07:00
2013-08-25 20:30:56 -07:00
2019-05-17 22:27:19 +00:00
2019-04-11 14:25:24 +02:00
2019-04-26 16:05:14 -07:00
2018-12-04 16:54:49 -06:00
2018-11-30 15:47:43 +01:00
2018-11-30 15:47:43 +01:00
2019-07-25 13:06:41 -07:00
2019-09-16 16:38:17 +02:00
2019-10-31 16:12:07 +01:00
2019-04-03 15:55:55 +02:00
2019-04-03 15:55:55 +02:00
2019-09-25 13:39:09 -07:00
2018-08-20 15:35:55 -07:00
2013-10-16 21:09:27 -10:00
2018-10-26 16:59:20 -07:00
2015-05-23 14:48:07 -07:00
2019-04-08 20:09:01 +02:00
2019-04-29 13:16:46 +02:00
2019-05-07 15:58:49 +02:00
2019-05-07 15:58:49 +02:00
2019-03-13 12:11:58 +01:00
2019-05-07 15:58:49 +02:00
2019-04-03 15:55:55 +02:00
2019-05-24 18:21:53 +02:00
2019-04-09 17:46:38 +02:00
2019-09-25 13:39:09 -07:00
2017-11-14 16:30:44 -08:00
2018-02-20 10:54:20 -08:00
2015-05-27 20:09:52 -07:00
2019-03-15 11:10:30 +01:00
2019-03-15 11:10:30 +01:00
2019-08-15 16:16:11 -07:00