From 697e4a19f23c61169872d6ddf205130d98cd1d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Thu, 29 Feb 2024 00:23:18 -0500 Subject: [PATCH] incus/remote: Add missing docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- cmd/incus/remote.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/incus/remote.go b/cmd/incus/remote.go index 06c64a2654d..edcc0770687 100644 --- a/cmd/incus/remote.go +++ b/cmd/incus/remote.go @@ -622,6 +622,7 @@ type cmdRemoteGenerateCertificate struct { remote *cmdRemote } +// Command generates the command definition. func (c *cmdRemoteGenerateCertificate) Command() *cobra.Command { cmd := &cobra.Command{} cmd.Use = usage("generate-certificate") @@ -634,6 +635,7 @@ func (c *cmdRemoteGenerateCertificate) Command() *cobra.Command { return cmd } +// Run runs the actual command logic. func (c *cmdRemoteGenerateCertificate) Run(cmd *cobra.Command, args []string) error { conf := c.global.conf