// Kill a bundle using 'runc kill'
Kill a bundle using 'runc kill'
// Kill a bundle using ' runc kill '
func (r *RunRunc) Kill(bundlePath string) error {
	mlog := plog.Start("kill", lager.Data{"bundle": bundlePath})
	cmd := exec.Command("runc", "kill", "SIGKILL")
	cmd.Dir = bundlePath
	err := r.commandRunner.Run(cmd)
	if err != nil {
		return mlog.Err("run", err)
	}
	mlog.Info("killed")
	return err
}
func ( r * RunRunc ) Kill ( bundlePath string ) error { mlog := plog . Start ( " " , lager . Data { " " : bundlePath } ) cmd := exec . Command ( " " , " " , " " ) cmd . Dir = bundlePath err := r . commandRunner . Run ( cmd ) if err != nil { return mlog . Err ( " " , err ) } mlog . Info ( " " ) return err }
Kill a bundle using 'runc kill'
Kill a bundle using ' runc kill '