Exemple #1
0
func cmdExec(pod *jetpack.Pod, rtapp types.ACName, args []string) error {
	app := pod.GetApp(rtapp)
	if app == nil {
		return errors.New("CAN'T HAPPEN")
	}
	app.Exec = args
	return errors.Trace(pod.RunApp(rtapp, app))
}