From c993e9bed690873b65809b40b0843b430051336c Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 19 Nov 2018 16:33:09 -0500 Subject: [PATCH] registry/response: Add protocols to DL resp --- registry/response/terraform_provider.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/registry/response/terraform_provider.go b/registry/response/terraform_provider.go index 0a4c3f9ef..08d382a48 100644 --- a/registry/response/terraform_provider.go +++ b/registry/response/terraform_provider.go @@ -45,13 +45,14 @@ type TerraformProviderPlatform struct { // structure for a provider platform with all details required to perform a // download. type TerraformProviderPlatformLocation struct { - OS string `json:"os"` - Arch string `json:"arch"` - Filename string `json:"filename"` - DownloadURL string `json:"download_url"` - ShasumsURL string `json:"shasums_url"` - ShasumsSignatureURL string `json:"shasums_signature_url"` - Shasum string `json:"shasum"` + Protocols []string `json:"protocols"` + OS string `json:"os"` + Arch string `json:"arch"` + Filename string `json:"filename"` + DownloadURL string `json:"download_url"` + ShasumsURL string `json:"shasums_url"` + ShasumsSignatureURL string `json:"shasums_signature_url"` + Shasum string `json:"shasum"` SigningKeys SigningKeyList `json:"signing_keys"` }