mirror of
https://github.com/containers/podman.git
synced 2025-10-09 06:26:26 +08:00
@ -4,6 +4,7 @@ run:
|
|||||||
- apparmor
|
- apparmor
|
||||||
- seccomp
|
- seccomp
|
||||||
- selinux
|
- selinux
|
||||||
|
- ABISupport
|
||||||
concurrency: 6
|
concurrency: 6
|
||||||
deadline: 5m
|
deadline: 5m
|
||||||
skip-dirs-use-default: true
|
skip-dirs-use-default: true
|
||||||
|
@ -4,10 +4,10 @@ package abi
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/pkg/errors"
|
|
||||||
|
|
||||||
"github.com/containers/libpod/libpod/define"
|
"github.com/containers/libpod/libpod/define"
|
||||||
"github.com/containers/libpod/pkg/domain/entities"
|
"github.com/containers/libpod/pkg/domain/entities"
|
||||||
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (ic *ContainerEngine) PodExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error) {
|
func (ic *ContainerEngine) PodExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error) {
|
||||||
|
@ -107,7 +107,7 @@ func (ic *ContainerEngine) VolumeInspect(ctx context.Context, namesOrIds []strin
|
|||||||
UID: v.UID(),
|
UID: v.UID(),
|
||||||
GID: v.GID(),
|
GID: v.GID(),
|
||||||
}
|
}
|
||||||
reports = append(reports, &entities.VolumeInspectReport{&config})
|
reports = append(reports, &entities.VolumeInspectReport{VolumeConfigResponse: &config})
|
||||||
}
|
}
|
||||||
return reports, nil
|
return reports, nil
|
||||||
}
|
}
|
||||||
@ -140,7 +140,7 @@ func (ic *ContainerEngine) VolumeList(ctx context.Context, opts entities.VolumeL
|
|||||||
UID: v.UID(),
|
UID: v.UID(),
|
||||||
GID: v.GID(),
|
GID: v.GID(),
|
||||||
}
|
}
|
||||||
reports = append(reports, &entities.VolumeListReport{config})
|
reports = append(reports, &entities.VolumeListReport{VolumeConfigResponse: config})
|
||||||
}
|
}
|
||||||
return reports, nil
|
return reports, nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user