Skip to content

Commit

Permalink
KEP-2170: Remove unneeded scheme field from the internal TrainingRuntime
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <[email protected]>
  • Loading branch information
tenzen-y committed Oct 10, 2024
1 parent f146a7d commit fd7aab4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/runtime.v2/core/trainingruntime.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"fmt"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
apiruntime "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/util/validation/field"
"k8s.io/utils/ptr"
Expand All @@ -44,7 +43,6 @@ var (
type TrainingRuntime struct {
framework *fwkcore.Framework
client client.Client
scheme *apiruntime.Scheme
}

var TrainingRuntimeGroupKind = schema.GroupKind{
Expand All @@ -67,7 +65,6 @@ func NewTrainingRuntime(ctx context.Context, c client.Client, indexer client.Fie
trainingRuntimeFactory = &TrainingRuntime{
framework: fwk,
client: c,
scheme: c.Scheme(),
}
return trainingRuntimeFactory, nil
}
Expand Down

0 comments on commit fd7aab4

Please sign in to comment.