Skip to content

Commit

Permalink
fix: rename kylin to arana
Browse files Browse the repository at this point in the history
  • Loading branch information
dk-lockdown committed Dec 12, 2021
1 parent d81f7bb commit 07ab447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var (

// init Init startCmd
func init() {
startCommand.PersistentFlags().StringVarP(&configPath, constants.ConfigPathKey, "c", os.Getenv(constants.EnvKylinConfig), "Load configuration from `FILE`")
startCommand.PersistentFlags().StringVarP(&configPath, constants.ConfigPathKey, "c", os.Getenv(constants.EnvAranaConfig), "Load configuration from `FILE`")
rootCommand.AddCommand(startCommand)
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
package constants

const (
EnvKylinConfig = "Kylin_Config"
EnvAranaConfig = "Arana_Config"
)

0 comments on commit 07ab447

Please sign in to comment.