mirror of https://github.com/docker/docs.git
'docker node inspect <node> --pretty' needs an extra newline at the end
Signed-off-by: Misty Stanley-Jones <misty@docker.com> (cherry picked from commit 341489f1500873a6aa51998f49c1da7f7fd8eb5a) Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
2be91b121b
commit
708a93a800
|
@ -71,6 +71,8 @@ func printHumanFriendly(out io.Writer, refs []string, getRef inspect.GetRefFunc)
|
|||
// print extra space between objects, but not after the last one
|
||||
if idx+1 != len(refs) {
|
||||
fmt.Fprintf(out, "\n\n")
|
||||
} else {
|
||||
fmt.Fprintf(out, "\n")
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue