From 5f74c7d2942a2bb2d8b47ad321761bf13e5e7050 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Wed, 23 Mar 2022 15:33:57 +0200 Subject: [PATCH] Fix resume source bucket panic Signed-off-by: Stefan Prodan --- cmd/flux/resume_source_bucket.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/flux/resume_source_bucket.go b/cmd/flux/resume_source_bucket.go index a4a3b689..4fd32bc2 100644 --- a/cmd/flux/resume_source_bucket.go +++ b/cmd/flux/resume_source_bucket.go @@ -31,7 +31,8 @@ var resumeSourceBucketCmd = &cobra.Command{ ValidArgsFunction: resourceNamesCompletionFunc(sourcev1.GroupVersion.WithKind(sourcev1.BucketKind)), RunE: resumeCommand{ apiType: bucketType, - object: &bucketAdapter{&sourcev1.Bucket{}}, + object: bucketAdapter{&sourcev1.Bucket{}}, + list: bucketListAdapter{&sourcev1.BucketList{}}, }.run, }