Skip to content

Commit 8ad94f4

Browse files
committed
Fix runtime/scheme type aliases
pkg/runtime/scheme was supposed to maintain a type alias to make it easier for people to upgrade and/or interact with projects written around older versions, but apparently, I forgot to actually leave the type alias around. This fixes that.
1 parent e826e01 commit 8ad94f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/runtime/scheme/scheme.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,10 @@ limitations under the License.
2020
//
2121
// Deprecated: use pkg/scheme instead.
2222
package scheme
23+
24+
import (
25+
"sigs.k8s.io/controller-runtime/pkg/scheme"
26+
)
27+
28+
// Builder builds a new Scheme for mapping go types to Kubernetes GroupVersionKinds.
29+
type Builder = scheme.Builder

0 commit comments

Comments
 (0)