File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,9 @@ type InterlynkAdapter struct {
41
41
Role types.AdapterRole
42
42
43
43
// HTTP client for API requests
44
- client * http.Client
45
- settings types.UploadSettings
44
+ client * http.Client
45
+ settings types.UploadSettings
46
+ ProcessingMode types.ProcessingMode
46
47
}
47
48
48
49
// AddCommandParams adds GitHub-specific CLI flags
@@ -115,7 +116,7 @@ func (i *InterlynkAdapter) ParseAndValidateParams(cmd *cobra.Command) error {
115
116
i .ProjectName = projectName
116
117
i .ProjectEnv = projectEnv
117
118
i .ApiKey = token
118
- i .settings = types.UploadSettings {ProcessingMode : types .UploadSequential }
119
+ i .settings = types.UploadSettings {ProcessingMode : types .UploadMode ( i . ProcessingMode ) }
119
120
120
121
logger .LogDebug (cmd .Context (), "Interlynk parameters validated and assigned" ,
121
122
"url" , i .BaseURL ,
You can’t perform that action at this time.
0 commit comments