Fix missing Version config parameter (#2627)

This commit is contained in:
Stefan Benten 2019-07-24 16:11:17 -04:00 committed by GitHub
parent f11413bc8e
commit 6e5e261244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ func cmdNewService(cmd *cobra.Command, args []string) error {
func cmdAuthorize(cmd *cobra.Command, args []string) error {
ctx := process.Ctx(cmd)
err := version.CheckProcessVersion(ctx, version.Config{}, version.Build, "Identity")
err := version.CheckProcessVersion(ctx, config.Version, version.Build, "Identity")
if err != nil {
return err
}