mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
7682a7dd5d
commit
571f8426fc
1 file changed
+1
-1
@@ -620,7 +620,7 @@ func applicationUpdate(ctx context.Context, version, endpoint string) (bool, err
|
||||
}
|
||||
latest := response.Header.Get("X-OFDGo-Build-Version")
|
||||
if latest == "" {
|
||||
return false, errors.New("未提供构建版")
|
||||
return false, errors.New("缺少构建版本")
|
||||
}
|
||||
return latest != version, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user