Skip to content

Commit

Permalink
feat(go): mention the server version in which the commands were depre…
Browse files Browse the repository at this point in the history
…cated.
  • Loading branch information
VishalDalwadi committed Feb 24, 2025
1 parent e31658f commit b3c3589
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/node/create_ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var nodeCreateIngressCmd = &cobra.Command{
Args: cobra.ExactArgs(2),
Short: "Turn a Node into a Remote Access Gateway (Ingress)",
Long: `Turn a Node into a Remote Access Gateway (Ingress) for a Network.`,
Deprecated: "in favour of the `gateway` subcommand.",
Deprecated: "in favour of the `gateway` subcommand, in Netmaker v0.90.0.",
Aliases: []string{"create_rag"},
Run: func(cmd *cobra.Command, args []string) {
functions.PrettyPrint(functions.CreateIngress(args[0], args[1], failover))
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/node/create_relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var hostCreateRelayCmd = &cobra.Command{
Args: cobra.ExactArgs(3),
Short: "Turn a Node into a Relay",
Long: `Turn a Node into a Relay`,
Deprecated: "in favour of the `gateway` subcommand.",
Deprecated: "in favour of the `gateway` subcommand, in Netmaker v0.90.0.",
Run: func(cmd *cobra.Command, args []string) {
functions.PrettyPrint(functions.CreateRelay(args[0], args[1], strings.Split(args[2], ",")))
},
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/node/delete_ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var nodeDeleteIngressCmd = &cobra.Command{
Args: cobra.ExactArgs(2),
Short: "Delete Remote Access Gateway role from a Node",
Long: `Delete Remote Access Gateway role from a Node`,
Deprecated: "in favour of the `gateway` subcommand.",
Deprecated: "in favour of the `gateway` subcommand, in Netmaker v0.90.0.",
Aliases: []string{"delete_rag"},
Run: func(cmd *cobra.Command, args []string) {
functions.PrettyPrint(functions.DeleteIngress(args[0], args[1]))
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/node/delete_relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var hostDeleteRelayCmd = &cobra.Command{
Args: cobra.ExactArgs(2),
Short: "Delete Relay from a node",
Long: `Delete Relay from a node`,
Deprecated: "in favour of the `gateway` subcommand.",
Deprecated: "in favour of the `gateway` subcommand, in Netmaker v0.90.0.",
Run: func(cmd *cobra.Command, args []string) {
functions.PrettyPrint(functions.DeleteRelay(args[0], args[1]))
},
Expand Down

0 comments on commit b3c3589

Please sign in to comment.