From 2f8b05cf5fd578c8f55dac6359351ebb3f0ec3f2 Mon Sep 17 00:00:00 2001 From: Gabriele Gerbino Date: Thu, 4 May 2023 14:20:56 +0200 Subject: [PATCH] fix: replace old docs link in 'convert' and fix docstring --- cmd/convert.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/convert.go b/cmd/convert.go index 4e0fac656..5240db2ff 100644 --- a/cmd/convert.go +++ b/cmd/convert.go @@ -24,8 +24,8 @@ func newConvertCmd() *cobra.Command { Use: "convert", Short: "Convert files from one format into another format", Long: `The convert command changes configuration files from one format -into another compatible format. For example, a configuration for 'kong-gateway' -can be converted into a 'konnect' configuration file.`, +into another compatible format. For example, a configuration for 'kong-gateway-2.x' +can be converted into a 'kong-gateway-3.x' configuration file.`, Args: validateNoArgs, RunE: func(cmd *cobra.Command, args []string) error { sourceFormat, err := convert.ParseFormat(convertCmdSourceFormat) @@ -69,7 +69,7 @@ can be converted into a 'konnect' configuration file.`, if convertCmdDestinationFormat == "konnect" { cprint.UpdatePrintf("Warning: konnect format type was deprecated in v1.12 and it will be removed\n" + "in a future version. Please use your Kong configuration files with deck .\n" + - "Please see https://docs.konghq.com/konnect/deployment/import.\n") + "Please see https://docs.konghq.com/konnect/getting-started/import/.\n") } return nil },