From f0512dccb5fc2bb7010693541bc318f1a7f58aa7 Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Wed, 9 Aug 2023 19:36:49 -0400 Subject: [PATCH] chore: cleanup --- pkg/wandb/spec/spec.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/pkg/wandb/spec/spec.go b/pkg/wandb/spec/spec.go index c72b9c9..e2b1f89 100644 --- a/pkg/wandb/spec/spec.go +++ b/pkg/wandb/spec/spec.go @@ -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, @@ -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 -}