Skip to content

Commit

Permalink
Fix runtime/scheme type aliases
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DirectXMan12 committed Jun 19, 2019
1 parent e826e01 commit 8ad94f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/runtime/scheme/scheme.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ limitations under the License.
//
// Deprecated: use pkg/scheme instead.
package scheme

import (
"sigs.k8s.io/controller-runtime/pkg/scheme"
)

// Builder builds a new Scheme for mapping go types to Kubernetes GroupVersionKinds.
type Builder = scheme.Builder

0 comments on commit 8ad94f4

Please sign in to comment.