Skip to content

Commit

Permalink
fix request usage
Browse files Browse the repository at this point in the history
Signed-off-by: Nitishkumar Singh <nitishkumarsingh71@gmail.com>
  • Loading branch information
nitishkumar71 authored and alexellis committed Nov 22, 2023
1 parent 9981e9e commit f0bcb31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,13 @@ func printResources(w io.Writer, name string, data *types.FunctionResources, ver
return
}

fmt.Fprintf(w, name+":")

header := name + ":"
if data == nil {
fmt.Fprintln(w, "\t <none>")
fmt.Fprintln(w, header+"\t <none>")
return
}

fmt.Fprintln(w, header)
fmt.Fprintln(w, "\t CPU: "+data.CPU)
fmt.Fprintln(w, "\t Memory: "+data.Memory)

Expand Down

0 comments on commit f0bcb31

Please sign in to comment.