From 675f71831708de5420226e92e3682a5da44de426 Mon Sep 17 00:00:00 2001 From: Ruslan Aliev Date: Sat, 3 Apr 2021 16:52:15 -0500 Subject: [PATCH] Remove unused fields from ExecutorConfig AirshipConfig and BundleName fields are not used within Executors, so they should be removed. Change-Id: I23c54b854938ae554e888102a41c7ec215b85c27 Signed-off-by: Ruslan Aliev --- pkg/phase/ifc/executor.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/phase/ifc/executor.go b/pkg/phase/ifc/executor.go index 5df7cf603..bfba8a6c6 100644 --- a/pkg/phase/ifc/executor.go +++ b/pkg/phase/ifc/executor.go @@ -19,7 +19,6 @@ import ( "time" "opendev.org/airship/airshipctl/pkg/cluster/clustermap" - "opendev.org/airship/airshipctl/pkg/config" "opendev.org/airship/airshipctl/pkg/document" "opendev.org/airship/airshipctl/pkg/events" "opendev.org/airship/airshipctl/pkg/k8s/kubeconfig" @@ -61,11 +60,9 @@ type ExecutorFactory func(config ExecutorConfig) (Executor, error) type ExecutorConfig struct { PhaseName string ClusterName string - BundleName string ClusterMap clustermap.ClusterMap ExecutorDocument document.Document - AirshipConfig *config.Config Helper Helper KubeConfig kubeconfig.Interface BundleFactory document.BundleFactoryFunc