From 6f9210f1af7591fc50b889ddf9e95edbbf09bb8f Mon Sep 17 00:00:00 2001 From: Pieszka Date: Thu, 18 Jul 2024 14:51:58 +0200 Subject: [PATCH] unused function removed --- .../provisioning/create_runtime_resource_step.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/internal/process/provisioning/create_runtime_resource_step.go b/internal/process/provisioning/create_runtime_resource_step.go index 081e1a8c5e..04b75ad5c3 100644 --- a/internal/process/provisioning/create_runtime_resource_step.go +++ b/internal/process/provisioning/create_runtime_resource_step.go @@ -12,8 +12,6 @@ import ( "github.com/kyma-project/kyma-environment-broker/internal/provider" "k8s.io/apimachinery/pkg/util/intstr" - "github.com/kyma-project/kyma-environment-broker/internal/process/steps" - "sigs.k8s.io/yaml" imv1 "github.com/kyma-project/infrastructure-manager/api/v1" @@ -89,15 +87,6 @@ func (s *CreateRuntimeResourceStep) Run(operation internal.Operation, log logrus return operation, 0, nil } -func getKymaNames(operation internal.Operation) (string, string) { - template, err := steps.DecodeKymaTemplate(operation.KymaTemplate) - if err != nil { - //TODO remove fallback - return "", "" - } - return template.GetName(), template.GetNamespace() -} - func (s *CreateRuntimeResourceStep) createRuntimeResourceObject(operation internal.Operation, kymaName, kymaNamespace string) (*imv1.Runtime, error) { runtime := imv1.Runtime{}