Skip to content

Commit cafdcf2

Browse files
committed
cli-plugins/manager: fix deprecation comment of Metadata.Experimental
This field was marked deprecated in 977d3ae, which is part of v20.10 and up, but the comment was missing a newline before the deprecation message, which may be picked up by IDEs, but is not matching the correct format, so may not be picked up by linters. This patch fixes the format, to make sure linters pick up that the field is deprecated. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 72e3813) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 59e9fbd commit cafdcf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli-plugins/manager/metadata.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type Metadata struct {
2323
// URL is a pointer to the plugin's homepage.
2424
URL string `json:",omitempty"`
2525
// Experimental specifies whether the plugin is experimental.
26+
//
2627
// Deprecated: experimental features are now always enabled in the CLI
2728
Experimental bool `json:",omitempty"`
2829
}

0 commit comments

Comments
 (0)