Skip to content

Commit eaea731

Browse files
committed
Rename variable to match what it does
1 parent 1ced8be commit eaea731

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/protocol.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/spf13/cobra"
77
)
88

9-
var getCmd = &cobra.Command{
9+
var httpCmd = &cobra.Command{
1010
Use: "http",
1111
Short: "Creates an http endpoint",
1212
Long: `rh: http
@@ -16,7 +16,7 @@ Create an endpoint that accepts http connections.
1616
}
1717

1818
func init() {
19-
rootCmd.AddCommand(getCmd)
19+
rootCmd.AddCommand(httpCmd)
2020
}
2121

2222
func http(cmd *cobra.Command, args []string) {

0 commit comments

Comments
 (0)