Skip to content

Commit

Permalink
incus/remote: Add missing docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Feb 29, 2024
1 parent ffcc473 commit 697e4a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/incus/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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

Expand Down

0 comments on commit 697e4a1

Please sign in to comment.