Skip to content

Commit

Permalink
Fix krel announcement --print-only
Browse files Browse the repository at this point in the history
This corrects a bug that was causing the release announcement to be spit out as bytes.

Signed-off-by: Adolfo Garcia Veytia (puerco) <adolfo.garcia@uservers.net>
  • Loading branch information
puerco committed Oct 18, 2024
1 parent 0c66c53 commit 92e1d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/krel/cmd/announce_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func runAnnounce(opts *sendAnnounceOptions, announceRootOpts *announceOptions, r

if announceRootOpts.printOnly {
logrus.Infof("The email content is:")
fmt.Print(content)
fmt.Print(string(content))
return nil
}

Expand Down

0 comments on commit 92e1d4b

Please sign in to comment.