From 8c73450f3dc35df561a4d400a6305849c92210ca Mon Sep 17 00:00:00 2001 From: Paul Meyer Date: Wed, 2 Oct 2019 22:44:15 +0000 Subject: [PATCH] fixup! Add documentation to config struct --- builder/azure/chroot/builder.go | 2 +- .../partials/builder/azure/chroot/_Config-required.html.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/azure/chroot/builder.go b/builder/azure/chroot/builder.go index c476b2fd1..e72507441 100644 --- a/builder/azure/chroot/builder.go +++ b/builder/azure/chroot/builder.go @@ -37,7 +37,7 @@ type Config struct { // When set to `true`, starts with an empty, unpartitioned disk. Defaults to `false`. FromScratch bool `mapstructure:"from_scratch"` - // Either a managed disk resourced ID or a publisher:offer:sku:version specifier for plaform image sources. + // Either a managed disk resource ID or a publisher:offer:sku:version specifier for plaform image sources. Source string `mapstructure:"source" required:"true"` sourceType sourceType diff --git a/website/source/partials/builder/azure/chroot/_Config-required.html.md b/website/source/partials/builder/azure/chroot/_Config-required.html.md index e24734560..8402b8c73 100644 --- a/website/source/partials/builder/azure/chroot/_Config-required.html.md +++ b/website/source/partials/builder/azure/chroot/_Config-required.html.md @@ -1,6 +1,6 @@ -- `source` (string) - Either a managed disk resourced ID or a publisher:offer:sku:version specifier for plaform image sources. +- `source` (string) - Either a managed disk resource ID or a publisher:offer:sku:version specifier for plaform image sources. - `image_resource_id` (string) - The image to create using this build. \ No newline at end of file