From aa3e3e08a9399ca72ba1a4088707cecbb7dd2b40 Mon Sep 17 00:00:00 2001 From: Nicolas Trangez Date: Mon, 8 Jul 2019 10:59:06 +0200 Subject: [PATCH] storage-operator: add package file to `pkg/apis/storage` Without such file in place, code-generation using `operator-sdk generate openapi` tends to fail. This is fixed in later versions of `operator-sdk`, which generate exactly this file when scaffolding a new API. See: https://github.com/operator-framework/operator-sdk/pull/1401 See: https://github.com/operator-framework/operator-sdk/issues/1502 See: https://github.com/operator-framework/operator-sdk/issues/1546 --- storage-operator/pkg/apis/storage/group.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 storage-operator/pkg/apis/storage/group.go diff --git a/storage-operator/pkg/apis/storage/group.go b/storage-operator/pkg/apis/storage/group.go new file mode 100644 index 0000000000..027c3d7c68 --- /dev/null +++ b/storage-operator/pkg/apis/storage/group.go @@ -0,0 +1,6 @@ +// Package storage contains storage API versions. +// +// This file ensures Go source parsers acknowledge the storage package +// and any child packages. It can be removed if any other Go source files are +// added to this package. +package storage