summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_plugins.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2022-08-24 19:33:00 +0200
committerMiloslav Trmač <mitr@redhat.com>2022-08-29 17:55:37 +0200
commit5cd584f43e6ed3738dba0430675088c77013dbb7 (patch)
treec28eb9b6fcdecd5d4e7cfd317a28dca438427d9a /pkg/api/server/register_plugins.go
parente2aa5f8bc50974fd83341d72d5906400a1828c46 (diff)
downloadpodman-5cd584f43e6ed3738dba0430675088c77013dbb7.tar.gz
podman-5cd584f43e6ed3738dba0430675088c77013dbb7.tar.bz2
podman-5cd584f43e6ed3738dba0430675088c77013dbb7.zip
Add a variable for scope
Only process the incoming args[] (which is a single-element array for some reason) once, and use a semantic variable name for the value we care about. Should not change behavior, the only caller already supposedly ensures that len(args) == 1. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg/api/server/register_plugins.go')
0 files changed, 0 insertions, 0 deletions