summaryrefslogtreecommitdiff
path: root/cmd/podman/secrets/list.go
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-02-11 22:55:56 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-02-11 23:01:56 +0100
commit78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e (patch)
tree12fdfd2472f66e68081a89b0019621c1b8a1586c /cmd/podman/secrets/list.go
parent69ab67bf90aa4bbd285f360e3bca4c85b6028908 (diff)
downloadpodman-78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e.tar.gz
podman-78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e.tar.bz2
podman-78c8a87362ee27ba1d2a62b7c9d73adc313c7d7e.zip
Enable whitespace linter
Use the whitespace linter and fix the reported problems. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'cmd/podman/secrets/list.go')
-rw-r--r--cmd/podman/secrets/list.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/podman/secrets/list.go b/cmd/podman/secrets/list.go
index dff4bfdca..d79e125e8 100644
--- a/cmd/podman/secrets/list.go
+++ b/cmd/podman/secrets/list.go
@@ -48,7 +48,6 @@ func init() {
formatFlagName := "format"
flags.StringVar(&listFlag.format, formatFlagName, "{{.ID}}\t{{.Name}}\t{{.Driver}}\t{{.CreatedAt}}\t{{.UpdatedAt}}\t\n", "Format volume output using Go template")
_ = lsCmd.RegisterFlagCompletionFunc(formatFlagName, common.AutocompleteJSONFormat)
-
}
func ls(cmd *cobra.Command, args []string) error {
@@ -65,7 +64,6 @@ func ls(cmd *cobra.Command, args []string) error {
UpdatedAt: units.HumanDuration(time.Since(response.UpdatedAt)) + " ago",
Driver: response.Spec.Driver.Name,
})
-
}
return outputTemplate(cmd, listed)
}