mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
versionsapi: fix cache invalidation
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
b9a1a9ae5e
commit
8b39d3d368
2 changed files with 9 additions and 4 deletions
|
@ -163,12 +163,12 @@ func New() *Fetcher {
|
|||
|
||||
// MinorVersionsOf fetches the list of minor versions for a given stream, major version and kind.
|
||||
func (f *Fetcher) MinorVersionsOf(ctx context.Context, ref, stream, major, kind string) (*List, error) {
|
||||
return f.list(ctx, stream, "major", major, ref, kind)
|
||||
return f.list(ctx, ref, stream, "major", major, kind)
|
||||
}
|
||||
|
||||
// PatchVersionsOf fetches the list of patch versions for a given stream, minor version and kind.
|
||||
func (f *Fetcher) PatchVersionsOf(ctx context.Context, ref, stream, minor, kind string) (*List, error) {
|
||||
return f.list(ctx, stream, "minor", minor, ref, kind)
|
||||
return f.list(ctx, ref, stream, "minor", minor, kind)
|
||||
}
|
||||
|
||||
// list fetches the list of versions for a given stream, granularity, base and kind.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue