Fixed typos across fission repo (#1832)
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
This commit is contained in:
@@ -253,7 +253,7 @@ func (fetcher *Fetcher) Fetch(ctx context.Context, pkg *fv1.Package, req Functio
|
||||
}
|
||||
archive = &pkg.Spec.Deployment
|
||||
} else {
|
||||
return http.StatusBadRequest, fmt.Errorf("unkonwn fetch type: %v", req.FetchType)
|
||||
return http.StatusBadRequest, fmt.Errorf("unknown fetch type: %v", req.FetchType)
|
||||
}
|
||||
|
||||
// get package data as literal or by url
|
||||
@@ -297,7 +297,7 @@ func (fetcher *Fetcher) Fetch(ctx context.Context, pkg *fv1.Package, req Functio
|
||||
tmpUnarchivePath := filepath.Join(fetcher.sharedVolumePath, uuid.NewV4().String())
|
||||
err := fetcher.unarchive(tmpPath, tmpUnarchivePath)
|
||||
if err != nil {
|
||||
fetcher.logger.Error("error unarchiving",
|
||||
fetcher.logger.Error("error unarchive",
|
||||
zap.Error(err),
|
||||
zap.String("archive_location", tmpPath),
|
||||
zap.String("target_location", tmpUnarchivePath))
|
||||
|
||||
Reference in New Issue
Block a user