Преглед на файлове

feat(go): mention the server version in which the commands were deprecated.

Vishal Dalwadi преди 6 месеца
родител
ревизия
b3c3589b4b
променени са 4 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 1
      cli/cmd/node/create_ingress.go
  2. 1 1
      cli/cmd/node/create_relay.go
  3. 1 1
      cli/cmd/node/delete_ingress.go
  4. 1 1
      cli/cmd/node/delete_relay.go

+ 1 - 1
cli/cmd/node/create_ingress.go

@@ -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))

+ 1 - 1
cli/cmd/node/create_relay.go

@@ -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], ",")))
 	},

+ 1 - 1
cli/cmd/node/delete_ingress.go

@@ -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]))

+ 1 - 1
cli/cmd/node/delete_relay.go

@@ -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]))
 	},