Skip to content

Commit

Permalink
fix cdi-file-host tozst ext
Browse files Browse the repository at this point in the history
Signed-off-by: huangzy <huangzynn@outlook.com>
  • Loading branch information
huangzynn committed Mar 8, 2023
1 parent 6b05833 commit e7c99c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/fileConversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func toGz(src, tgtDir, ext string) (string, error) {
}

func toZst(src, tgtDir, ext string) (string, error) {
tgtFile, tgtPath, _ := createTargetFile(src, tgtDir, image.ExtGz)
tgtFile, tgtPath, _ := createTargetFile(src, tgtDir, image.ExtZst)
defer tgtFile.Close()

w, err := zstd.NewWriter(tgtFile)
Expand Down

0 comments on commit e7c99c5

Please sign in to comment.