mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-17 16:34:42 -05:00
refactor(providers): drop unused InspectImageOutput type
The exported struct was produced and consumed by nothing — no InspectImage method exists and no caller references it — so it was dead public surface, not a usable affordance. Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@@ -72,11 +72,6 @@ type inspectOutput struct {
|
||||
} `json:"Config"`
|
||||
}
|
||||
|
||||
type InspectImageOutput struct {
|
||||
ID string `json:"ID"`
|
||||
Architecture string `json:"Architecture"`
|
||||
}
|
||||
|
||||
func (d *Docker) ListContainers(ctx context.Context) ([]containermanager.Container, error) {
|
||||
args := []string{"ps", "-a", "--no-trunc", "--format", "{{json .}}"}
|
||||
out, err := d.run(ctx, args, runOptions{})
|
||||
|
||||
Reference in New Issue
Block a user