From fbc2ca90ecf858861d3df27c60a841986f5f4282 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Wed, 17 Jan 2024 13:39:36 -0500 Subject: [PATCH] plugin-getter: fix docs for Installation The comments weren't capitalised correctly, and the directory example included the `packer-plugin-' prefix, which should not be the case in reality. --- packer/plugin-getter/plugins.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packer/plugin-getter/plugins.go b/packer/plugin-getter/plugins.go index 1aa7834d1..5de974164 100644 --- a/packer/plugin-getter/plugins.go +++ b/packer/plugin-getter/plugins.go @@ -207,13 +207,12 @@ func (l InstallList) String() string { // Installation describes a plugin installation type Installation struct { - // path to where binary is installed, if installed. - // Ex: /usr/azr/.packer.d/plugins/github.com/hashicorp/packer-plugin-amazon/packer-plugin-amazon_v1.2.3_darwin_amd64 + // Path to where binary is installed. + // Ex: /usr/azr/.packer.d/plugins/github.com/hashicorp/amazon/packer-plugin-amazon_v1.2.3_darwin_amd64 BinaryPath string - // Version of this plugin, if installed and versionned. Ex: + // Version of this plugin. Ex: // * v1.2.3 for packer-plugin-amazon_v1.2.3_darwin_x5 - // * empty for packer-plugin-amazon Version string }