Skip to content

Commit

Permalink
Remove getVersion func
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandeep Jadoonanan committed Oct 2, 2017
1 parent 93638b9 commit c93a1b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var RootCmd = &cobra.Command{
},
PreRun: func(cmd *cobra.Command, args []string) {
if version {
fmt.Println(getVersion())
fmt.Println(AppVersion)
os.Exit(0)
}

Expand Down
4 changes: 0 additions & 4 deletions cmd/utils_.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ func getDefaultConfig() string {
return "./konnect.yml"
}

// func getVersion() string {
// return AppVersion
// }

// Remove duplicate elements from a string slice.
// https://goo.gl/ttDAg2
func removeDuplicates(elements []string) []string {
Expand Down

0 comments on commit c93a1b6

Please sign in to comment.