Skip to content

Commit

Permalink
fix: replace old docs link in 'convert' and fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
GGabriele committed May 4, 2023
1 parent 02b90d6 commit 2f8b05c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 <cmd>.\n" +
"Please see https://docs.konghq.com/konnect/deployment/import.\n")
"Please see https://docs.konghq.com/konnect/getting-started/import/.\n")
}
return nil
},
Expand Down

0 comments on commit 2f8b05c

Please sign in to comment.