Skip to content

Commit ba9c376

Browse files
committed
test: Update to latest puipui linux
Signed-off-by: Christophe Fergeau <[email protected]>
1 parent f8f427c commit ba9c376

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/osprovider.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ func kernelArch() string {
3131
}
3232
}
3333

34+
const puipuiVersion = "1.0.3"
35+
3436
func downloadPuipui(destDir string) ([]string, error) {
35-
const puipuiVersion = "0.0.1"
3637
var puipuiURL = fmt.Sprintf("https://github.com/Code-Hex/puipui-linux/releases/download/v%s/puipui_linux_v%s_%s.tar.gz", puipuiVersion, puipuiVersion, kernelArch())
3738

3839
// https://github.com/cavaliergopher/grab/issues/104
@@ -179,7 +180,7 @@ func findKernel(files []string) (string, error) {
179180
}
180181

181182
func (puipui *PuiPuiProvider) Fetch(destDir string) error {
182-
log.Infof("downloading puipui to %s", destDir)
183+
log.Infof("downloading puipui v%s to %s", puipuiVersion, destDir)
183184
files, err := downloadPuipui(destDir)
184185
if err != nil {
185186
return err

0 commit comments

Comments
 (0)