Skip to content

Commit d4b172c

Browse files
committed
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: operator-framework/operator-sdk#1401 See: operator-framework/operator-sdk#1502 See: operator-framework/operator-sdk#1546
1 parent 4a02e1a commit d4b172c

File tree

1 file changed

+6
-0
lines changed
  • storage-operator/pkg/apis/storage

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Package storage contains storage API versions.
2+
//
3+
// This file ensures Go source parsers acknowledge the storage package
4+
// and any child packages. It can be removed if any other Go source files are
5+
// added to this package.
6+
package storage

0 commit comments

Comments
 (0)