summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux.go
diff options
context:
space:
mode:
authorŠimon Lukašík <slukasik@redhat.com>2018-11-10 10:44:03 +0100
committerŠimon Lukašík <slukasik@redhat.com>2018-11-10 10:52:24 +0100
commite93834576036ef0a5e1d5867e522d1d90a63d358 (patch)
treed6fec513a777ce6440701ee73cc15a9c9f4dce52 /libpod/container_internal_linux.go
parent7457815ba930fdabff6ee57f4b7ec29d9fbcfcf8 (diff)
downloadpodman-e93834576036ef0a5e1d5867e522d1d90a63d358.tar.gz
podman-e93834576036ef0a5e1d5867e522d1d90a63d358.tar.bz2
podman-e93834576036ef0a5e1d5867e522d1d90a63d358.zip
Lint: Silence few given goconst lint warnings
While we have these string literals on repeated on multiple places in the library, I cannot see real tangible benefit extracting these to constants considering following facts: (1) while 'unknown' or 'host' are repeated, they are often times used in different context and thus perhaps worth extra const per each use. (2) while these string literals repeat, the library is full of string literals with special meaning that should be made constants too (3) readability would suffer Signed-off-by: Šimon Lukašík <slukasik@redhat.com>
Diffstat (limited to 'libpod/container_internal_linux.go')
0 files changed, 0 insertions, 0 deletions