Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cf/net/request_dumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (p RequestDumper) displayFormData(formData url.Values) {
func (p RequestDumper) DumpResponse(res *http.Response) {
dumpedResponse, err := httputil.DumpResponse(res, true)
if err != nil {
p.printer.Printf(T("Error dumping response\n{{.Err}}\n", map[string]interface{}{"Err": err}))
p.printer.Printf("%s", T("Error dumping response\n{{.Err}}\n", map[string]interface{}{"Err": err}))
} else {
p.printer.Printf("\n%s [%s]\n%s\n", terminal.HeaderColor(T("RESPONSE:")), time.Now().Format(time.RFC3339), trace.Sanitize(string(dumpedResponse)))
}
Expand Down
2 changes: 1 addition & 1 deletion cf/trace/logger_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewLogger(writer io.Writer, verbose bool, boolsOrPaths ...string) Printer {
if err == nil {
printers = append(printers, NewWriterPrinter(file, false))
} else {
stdoutLogger.Printf(T("CF_TRACE ERROR CREATING LOG FILE {{.Path}}:\n{{.Err}}",
stdoutLogger.Print(T("CF_TRACE ERROR CREATING LOG FILE {{.Path}}:\n{{.Err}}",
map[string]interface{}{"Path": path, "Err": err}))

LoggingToStdout = true
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module code.cloudfoundry.org/cli/v8

go 1.26.7
go 1.26.9

require (
code.cloudfoundry.org/bytefmt v0.93.0
Expand Down
Loading