Skip to content

Commit

Permalink
feat: support log level in cmp plugin, and add possibility to trace g…
Browse files Browse the repository at this point in the history
…enerated manifest

Signed-off-by: pashakostohrys <[email protected]>
  • Loading branch information
pasha-codefresh committed Jun 29, 2024
1 parent b39d971 commit 8c650df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmpserver/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ func (s *Service) generateManifestGeneric(stream GenerateManifestStream) error {
if err != nil {
return fmt.Errorf("error generating manifests: %w", err)
}

log.Tracef("Generated manifests result: %s", response.Manifests)

err = stream.SendAndClose(response)
if err != nil {
return fmt.Errorf("error sending manifest response: %w", err)
Expand Down

0 comments on commit 8c650df

Please sign in to comment.