Fix missing Version config parameter (#2627)
This commit is contained in:
parent
f11413bc8e
commit
6e5e261244
@ -148,7 +148,7 @@ func cmdNewService(cmd *cobra.Command, args []string) error {
|
|||||||
func cmdAuthorize(cmd *cobra.Command, args []string) error {
|
func cmdAuthorize(cmd *cobra.Command, args []string) error {
|
||||||
ctx := process.Ctx(cmd)
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user