fix: carry the suggested FK artifact through thothctl JSON output
This commit is contained in:
@@ -181,6 +181,7 @@ type Result struct {
|
||||
CompletedStages []string `json:"completedStages"`
|
||||
Counts map[string]int `json:"counts,omitempty"`
|
||||
ArtifactIdentities []ArtifactIdentity `json:"artifactIdentities,omitempty"`
|
||||
SuggestedFksYAML string `json:"suggestedFksYaml,omitempty"`
|
||||
Warnings []string `json:"warnings,omitempty"`
|
||||
}
|
||||
|
||||
@@ -316,6 +317,7 @@ func Execute(ctx context.Context, installation config.Installation, runner Runne
|
||||
return Result{}, errors.New("workspace FK output file could not be created safely")
|
||||
}
|
||||
}
|
||||
response.Result.SuggestedFksYAML = response.SuggestedFksYAML
|
||||
return response.Result, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user