From 8cceed12f799050836b8e8777ef3456b59d698ec Mon Sep 17 00:00:00 2001 From: Christoph Fiehe Date: Mon, 14 Oct 2024 20:50:45 +0200 Subject: [PATCH] Fix tests. Signed-off-by: Christoph Fiehe --- api/publish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/publish.go b/api/publish.go index 2d71f539..812972c0 100644 --- a/api/publish.go +++ b/api/publish.go @@ -349,7 +349,7 @@ type publishedRepoUpdateSwitchParams struct { // Don't remove unreferenced files in prefix/component SkipCleanup *bool ` json:"SkipCleanup"` // only when updating published snapshots, list of objects 'Component/Name' - Snapshots []sourceParams `binding:"required" json:"Snapshots"` + Snapshots []sourceParams ` json:"Snapshots"` // Provide index files by hash AcquireByHash *bool ` json:"AcquireByHash"` // Enable multiple packages with the same filename in different distributions