func (cli *DogestryCli) pullImage(id remote.ID, dst string, r remote.Remote) error { fmt.Printf("pulling image id '%s'\n", id.Short()) // XXX fix image name rewrite err := r.PullImageId(id, dst) if err != nil { return err } return cli.processPulled(id, dst) }