Skip to content

Commit

Permalink
fix: removed unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Feb 1, 2022
1 parent dce870a commit 633848b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions internal/app/api/v1/executions.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"go.mongodb.org/mongo-driver/mongo"
"k8s.io/apimachinery/pkg/api/errors"

scriptsv2 "github.com/kubeshop/testkube-operator/apis/script/v2"
"github.com/kubeshop/testkube/pkg/api/v1/testkube"
"github.com/kubeshop/testkube/pkg/executor/client"
"github.com/kubeshop/testkube/pkg/executor/output"
Expand Down Expand Up @@ -320,17 +319,6 @@ func newExecutionFromExecutionOptions(options client.ExecuteOptions) testkube.Ex
return execution
}

func mapScriptContentFromSpec(specContent *scriptsv2.ScriptContent) *testkube.ScriptContent {
content := &testkube.ScriptContent{
Type_: specContent.Type_,
Repository: (*testkube.Repository)(specContent.Repository),
Data: specContent.Data,
Uri: specContent.Uri,
}

return content
}

func mapExecutionsToExecutionSummary(executions []testkube.Execution) []testkube.ExecutionSummary {
result := make([]testkube.ExecutionSummary, len(executions))

Expand Down

0 comments on commit 633848b

Please sign in to comment.