From 73997ede2ad2506ebb8a265b979c8591850106cb Mon Sep 17 00:00:00 2001 From: byhsu Date: Mon, 10 Apr 2023 09:41:13 -0700 Subject: [PATCH] fix lint Signed-off-by: byhsu --- pkg/compiler/transformers/k8s/utils.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pkg/compiler/transformers/k8s/utils.go b/pkg/compiler/transformers/k8s/utils.go index 1cf9a521c..5f8a0f85a 100644 --- a/pkg/compiler/transformers/k8s/utils.go +++ b/pkg/compiler/transformers/k8s/utils.go @@ -48,18 +48,6 @@ func computeDeadline(n *core.Node) (*v1.Duration, error) { return deadline, nil } -func getResources(task *core.TaskTemplate) *core.Resources { - if task == nil { - return nil - } - - if task.GetContainer() == nil { - return nil - } - - return task.GetContainer().Resources -} - func toAliasValueArray(aliases []*core.Alias) []v1alpha1.Alias { if aliases == nil { return nil