summaryrefslogtreecommitdiff
path: root/libpod/diff.go
diff options
context:
space:
mode:
authorSuraj Deshmukh <surajd.service@gmail.com>2017-11-24 23:01:46 +0530
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-28 14:30:12 +0000
commit7eb4772694ed9b522fe688d8bd12a56ab3be751f (patch)
tree9e3686ca8536a2e93c472afa344ea5e6a446f552 /libpod/diff.go
parentd43f7867282f04d3003c44ee96eb2324c6d2a0aa (diff)
downloadpodman-7eb4772694ed9b522fe688d8bd12a56ab3be751f.tar.gz
podman-7eb4772694ed9b522fe688d8bd12a56ab3be751f.tar.bz2
podman-7eb4772694ed9b522fe688d8bd12a56ab3be751f.zip
remove unused functions and variables
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com> Closes: #71 Approved by: rhatdan
Diffstat (limited to 'libpod/diff.go')
-rw-r--r--libpod/diff.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/libpod/diff.go b/libpod/diff.go
index 5dac56a44..3d95a8e41 100644
--- a/libpod/diff.go
+++ b/libpod/diff.go
@@ -43,11 +43,3 @@ func (r *Runtime) getLayerID(id string) (string, error) {
}
return toLayer, nil
}
-
-func (r *Runtime) getLayerParent(layerID string) (string, error) { //nolint
- layer, err := r.store.Layer(layerID)
- if err != nil {
- return "", err
- }
- return layer.Parent, nil
-}