Fix formatting
This commit is contained in:
@@ -21,12 +21,12 @@ type ExportFn func(ctx context.Context, repoName string, options provisioning.Ex
|
||||
type WrapWithStageFn func(ctx context.Context, repo repository.Repository, stageOptions repository.StageOptions, fn func(repo repository.Repository, staged bool) error) error
|
||||
|
||||
type ExportWorker struct {
|
||||
clientFactory resources.ClientFactory
|
||||
repositoryResources resources.RepositoryResourcesFactory
|
||||
exportAllFn ExportFn
|
||||
exportSpecificResourcesFn ExportFn
|
||||
wrapWithStageFn WrapWithStageFn
|
||||
metrics jobs.JobMetrics
|
||||
clientFactory resources.ClientFactory
|
||||
repositoryResources resources.RepositoryResourcesFactory
|
||||
exportAllFn ExportFn
|
||||
exportSpecificResourcesFn ExportFn
|
||||
wrapWithStageFn WrapWithStageFn
|
||||
metrics jobs.JobMetrics
|
||||
}
|
||||
|
||||
func NewExportWorker(
|
||||
@@ -38,12 +38,12 @@ func NewExportWorker(
|
||||
metrics jobs.JobMetrics,
|
||||
) *ExportWorker {
|
||||
return &ExportWorker{
|
||||
clientFactory: clientFactory,
|
||||
repositoryResources: repositoryResources,
|
||||
exportAllFn: exportAllFn,
|
||||
exportSpecificResourcesFn: exportSpecificResourcesFn,
|
||||
wrapWithStageFn: wrapWithStageFn,
|
||||
metrics: metrics,
|
||||
clientFactory: clientFactory,
|
||||
repositoryResources: repositoryResources,
|
||||
exportAllFn: exportAllFn,
|
||||
exportSpecificResourcesFn: exportSpecificResourcesFn,
|
||||
wrapWithStageFn: wrapWithStageFn,
|
||||
metrics: metrics,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -388,5 +388,3 @@ func TestIntegrationProvisioning_ExportSpecificResourcesWithFolderStructure(t *t
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, "test-v1", val)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user