Fix resume source bucket panic

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/2566/head
Stefan Prodan 3 years ago
parent ed87a632b0
commit 5f74c7d294
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -31,7 +31,8 @@ var resumeSourceBucketCmd = &cobra.Command{
ValidArgsFunction: resourceNamesCompletionFunc(sourcev1.GroupVersion.WithKind(sourcev1.BucketKind)), ValidArgsFunction: resourceNamesCompletionFunc(sourcev1.GroupVersion.WithKind(sourcev1.BucketKind)),
RunE: resumeCommand{ RunE: resumeCommand{
apiType: bucketType, apiType: bucketType,
object: &bucketAdapter{&sourcev1.Bucket{}}, object: bucketAdapter{&sourcev1.Bucket{}},
list: bucketListAdapter{&sourcev1.BucketList{}},
}.run, }.run,
} }

Loading…
Cancel
Save