From 2125998c5bffe2341131e2998535fac1eb32af8d Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Wed, 18 Oct 2023 14:17:15 -0700 Subject: [PATCH] Sort parameters alphabetically --- cmd/dependabot/internal/cmd/test.go | 4 ++-- cmd/dependabot/internal/cmd/update.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/dependabot/internal/cmd/test.go b/cmd/dependabot/internal/cmd/test.go index eb167ec..1f8bbbc 100644 --- a/cmd/dependabot/internal/cmd/test.go +++ b/cmd/dependabot/internal/cmd/test.go @@ -38,6 +38,8 @@ var testCmd = &cobra.Command{ if err := infra.Run(infra.RunParams{ CacheDir: cache, + CollectorConfigPath: collectorConfigPath, + CollectorImage: collectorImage, Creds: scenario.Input.Credentials, Debug: debugging, EnableOpenTelemetry: enableOpenTelemetry, @@ -50,8 +52,6 @@ var testCmd = &cobra.Command{ Output: output, ProxyCertPath: proxyCertPath, ProxyImage: proxyImage, - CollectorConfigPath: collectorConfigPath, - CollectorImage: collectorImage, PullImages: pullImages, Timeout: timeout, UpdaterImage: updaterImage, diff --git a/cmd/dependabot/internal/cmd/update.go b/cmd/dependabot/internal/cmd/update.go index 3a50a6d..16380f8 100644 --- a/cmd/dependabot/internal/cmd/update.go +++ b/cmd/dependabot/internal/cmd/update.go @@ -62,6 +62,8 @@ func NewUpdateCommand() *cobra.Command { if err := infra.Run(infra.RunParams{ CacheDir: cache, + CollectorConfigPath: collectorConfigPath, + CollectorImage: collectorImage, Creds: input.Credentials, Debug: debugging, EnableOpenTelemetry: enableOpenTelemetry, @@ -73,13 +75,11 @@ func NewUpdateCommand() *cobra.Command { Output: output, ProxyCertPath: proxyCertPath, ProxyImage: proxyImage, - CollectorConfigPath: collectorConfigPath, - CollectorImage: collectorImage, PullImages: pullImages, Timeout: timeout, UpdaterImage: updaterImage, - Writer: writer, Volumes: volumes, + Writer: writer, }); err != nil { log.Fatalf("failed to run updater: %v", err) }