mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
This commit is contained in:
@@ -212,13 +212,6 @@ func NewInternalNamespacedType(kind, apiversion, name, namespace string) *Intern
|
||||
|
||||
var errInvalidVersion = errors.New("not a version")
|
||||
|
||||
func versionErrIfFalse(b bool) error {
|
||||
if b {
|
||||
return nil
|
||||
}
|
||||
return errInvalidVersion
|
||||
}
|
||||
|
||||
// ValidVersion of API
|
||||
var ValidVersion = "v1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user