From 8104ecb3d5be0da9c3ca72e192e441a22ce48dce Mon Sep 17 00:00:00 2001 From: Todd Knight Date: Wed, 8 Sep 2021 16:47:11 -0700 Subject: [PATCH] Fix comments describing the requirements of the arguments to CreatePlugin. --- internal/plugin/host/repository_plugin.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/plugin/host/repository_plugin.go b/internal/plugin/host/repository_plugin.go index b64ec8c690..574ade9704 100644 --- a/internal/plugin/host/repository_plugin.go +++ b/internal/plugin/host/repository_plugin.go @@ -16,6 +16,9 @@ import ( // contain a valid ScopeID. p must not contain a PublicId. The PublicId is // generated and assigned by this method. opt is ignored. // +// Both p.IdPrefix and p.PluginName are required and must match. The +// p.IdPrefix must contain only lower case alphanumeric characters. +// // Both p.Name and p.Description are optional. If p.Name is set, it must be // unique within p.ScopeID. //