Skip to content

Commit

Permalink
storage-operator: add package file to pkg/apis/storage
Browse files Browse the repository at this point in the history
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
  • Loading branch information
NicolasT authored and slaperche-scality committed Jul 12, 2019
1 parent c110fcb commit 4647051
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions storage-operator/pkg/apis/storage/group.go
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4647051

Please sign in to comment.