summaryrefslogtreecommitdiff
path: root/pkg/rootless/rootless_unsupported.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2019-10-08 17:06:00 -0400
committerQi Wang <qiwan@redhat.com>2019-10-09 21:27:18 -0400
commit3fff42e0ab570c3b3c0823210dd6c6e16325cbbc (patch)
treee862108af9d96eca6180987df2a368db0061335f /pkg/rootless/rootless_unsupported.go
parent12c9b53439d958395856c29567ec0ed44a5507ed (diff)
downloadpodman-3fff42e0ab570c3b3c0823210dd6c6e16325cbbc.tar.gz
podman-3fff42e0ab570c3b3c0823210dd6c6e16325cbbc.tar.bz2
podman-3fff42e0ab570c3b3c0823210dd6c6e16325cbbc.zip
show uid_map in podman info
show uid_map gid_map in podman info Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r--pkg/rootless/rootless_unsupported.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go
index ddd9182b0..ce488f364 100644
--- a/pkg/rootless/rootless_unsupported.go
+++ b/pkg/rootless/rootless_unsupported.go
@@ -65,3 +65,8 @@ func ConfigurationMatches() (bool, error) {
func GetConfiguredMappings() ([]idtools.IDMap, []idtools.IDMap, error) {
return nil, nil, errors.New("this function is not supported on this os")
}
+
+// ReadMappingsProc returns the uid_map and gid_map
+func ReadMappingsProc(path string) ([]idtools.IDMap, error) {
+ return nil, nil
+}