Skip to content

Commit

Permalink
Fix typo (zap instead of zip)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 16, 2021
1 parent 1fd948c commit b5cd996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/jobs/rest/userspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func compress(ctx context.Context, selectedPathes []string, targetNodePath strin
claims := ctx.Value(claim.ContextKey).(claim.Claims)
userName := claims.Name
if format != "zip" && format != "tar" && format != "tar.gz" {
return "", fmt.Errorf("unsupported format value, please use one of zap, tar or tar.gz")
return "", fmt.Errorf("unsupported format, please use one of zip, tar or tar.gz")
}

err := getRouter().WrapCallback(func(inputFilter views.NodeFilter, outputFilter views.NodeFilter) error {
Expand Down

0 comments on commit b5cd996

Please sign in to comment.