Skip to content

Commit

Permalink
fix(installer): tke version is empty (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu committed Jan 7, 2021
1 parent f0a9a86 commit c91c8c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
package spec

import (
"os"

"github.com/thoas/go-funk"
"tkestack.io/tke/pkg/app/version"
)

var (
TKEVersion = os.Getenv("VERSION")
TKEVersion = version.Get().GitVersion
Archs = []string{"amd64", "arm64"}
Arm64 = "arm64"
Arm64Variants = []string{"v8", "unknown"}
Expand Down

0 comments on commit c91c8c7

Please sign in to comment.