Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Aug 9, 2023
1 parent 672100a commit f0512dc
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions pkg/wandb/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
)

// type Spec interface {
// SetValues(map[string]interface{})
// GetValues() map[string]interface{}
// Apply(
// context.Context,
// client.Client,
// *v1.WeightsAndBiases,
// *runtime.Scheme,
// ) error
// Merge(spec Spec) Spec
// }

type Release interface {
Apply(
context.Context,
Expand Down Expand Up @@ -70,11 +58,3 @@ func (s *Spec) Merge(spec *Spec) {
s.MergeConfig(spec.Config)
}
}

func Merge(specs ...*Spec) *Spec {
root := &Spec{}
for _, spec := range specs {
root.Merge(spec)
}
return root
}

0 comments on commit f0512dc

Please sign in to comment.