mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
infrakit: Update HyperKit plugin to new API
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
2ab909fcbd
commit
110644ac8b
@ -153,7 +153,7 @@ func (p hyperkitPlugin) Destroy(id instance.ID) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// DescribeInstances returns descriptions of all instances matching all of the provided tags.
|
// DescribeInstances returns descriptions of all instances matching all of the provided tags.
|
||||||
func (p hyperkitPlugin) DescribeInstances(tags map[string]string) ([]instance.Description, error) {
|
func (p hyperkitPlugin) DescribeInstances(tags map[string]string, properties bool) ([]instance.Description, error) {
|
||||||
files, err := ioutil.ReadDir(p.VMDir)
|
files, err := ioutil.ReadDir(p.VMDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user