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"`
|
CompletedStages []string `json:"completedStages"`
|
||||||
Counts map[string]int `json:"counts,omitempty"`
|
Counts map[string]int `json:"counts,omitempty"`
|
||||||
ArtifactIdentities []ArtifactIdentity `json:"artifactIdentities,omitempty"`
|
ArtifactIdentities []ArtifactIdentity `json:"artifactIdentities,omitempty"`
|
||||||
|
SuggestedFksYAML string `json:"suggestedFksYaml,omitempty"`
|
||||||
Warnings []string `json:"warnings,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")
|
return Result{}, errors.New("workspace FK output file could not be created safely")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
response.Result.SuggestedFksYAML = response.SuggestedFksYAML
|
||||||
return response.Result, nil
|
return response.Result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user