catalog: fix vet errors (#1090)

* catalog: fix vet errors

* fix typo
This commit is contained in:
Marwan Sulaiman
2019-02-26 13:57:18 -05:00
committed by Aaron Schlesinger
parent dbe44e627a
commit 26d565d7bc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -81,5 +81,5 @@ func parseS3Key(o *s3.Object) (paths.AllPathParams, error) {
if m == "" || v == "" {
return paths.AllPathParams{}, errors.E(op, fmt.Errorf("invalid object key format %s", *o.Key))
}
return paths.AllPathParams{m, v}, nil
return paths.AllPathParams{Module: m, Version: v}, nil
}