mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
committed by
Aaron Schlesinger
parent
dbe44e627a
commit
26d565d7bc
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user