Skip to content

Commit

Permalink
Sort parameters alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Oct 18, 2023
1 parent ebd7842 commit 2125998
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cmd/dependabot/internal/cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -50,8 +52,6 @@ var testCmd = &cobra.Command{
Output: output,
ProxyCertPath: proxyCertPath,
ProxyImage: proxyImage,
CollectorConfigPath: collectorConfigPath,
CollectorImage: collectorImage,
PullImages: pullImages,
Timeout: timeout,
UpdaterImage: updaterImage,
Expand Down
6 changes: 3 additions & 3 deletions cmd/dependabot/internal/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
}
Expand Down

0 comments on commit 2125998

Please sign in to comment.