Skip to content

Commit

Permalink
unused function removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslaw-pieszka committed Jul 18, 2024
1 parent 312dd3e commit 6f9210f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions internal/process/provisioning/create_runtime_resource_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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{}
Expand Down

0 comments on commit 6f9210f

Please sign in to comment.