Add log-driver and options to service inspect "pretty" format#1950
Add log-driver and options to service inspect "pretty" format#1950silvin-lubecki merged 1 commit intodocker:masterfrom
Conversation
|
Please sign your commits following these rules: $ git clone -b "1943-bug-fix" git@github.com:RahulZoldyck/cli.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -fAmending updates the existing PR. You DO NOT need to open a new one. |
054b69f to
50b8b12
Compare
Codecov Report
@@ Coverage Diff @@
## master #1950 +/- ##
=========================================
Coverage ? 56.74%
=========================================
Files ? 310
Lines ? 21808
Branches ? 0
=========================================
Hits ? 12375
Misses ? 8518
Partials ? 915 |
|
@GordonTheTurtle requesting review for the PR |
|
Whoops, this one dropped off my list. Tested this, and looks good: |
|
ping @silvin-lubecki PTAL |
cli/command/service/formatter.go
Outdated
| Target: {{$secret.File.Name}} | ||
| Source: {{$secret.SecretName}} | ||
| {{- end }}{{ end }} | ||
|
|
There was a problem hiding this comment.
I wonder if we need/want those empty lines in the template? 🤔
There was a problem hiding this comment.
Ah, yes, it's a bit redundant as we have the indentation already (at least inconsistent). Let me clone this one and update that
933caf1 to
85c707c
Compare
Signed-off-by: Rahul Zoldyck <rahulzoldyck@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
85c707c to
139af1f
Compare
|
rebased, squashed, and removed the newlines |
|
Thank you @RahulZoldyck for your contribution!! 👍 |
What I did
Fixes issue #1943 docker inspect not having log information
How I did it
Added template for Log Driver information in serviceInspectPrettyTemplate
How to verify it
Description for the changelog
Added Log Driver information in the prettify template.