Пример #1
0
func init() {
	flag, err := helper.LoadTestingFlag("./plugin/pkg/vmturbo/probe/helper/testing_flag.json")
	if err != nil {
		glog.Errorf("Error initialize vmturbo package")
		return
	}
	localTestingFlag = flag.LocalTestingFlag
}
Пример #2
0
func init() {
	flag, err := helper.LoadTestingFlag("./plugin/pkg/vmturbo/probe/helper/testing_flag.json")
	if err != nil {
		return
	}
	localTestingFlag = flag.LocalTestingFlag
	actionTestingFlag = flag.ActionTestingFlag
	localTestStitchingIP = flag.LocalTestStitchingIP

	glog.V(4).Infof("local %s", localTestingFlag)
	glog.V(4).Infof("s IP %s", localTestStitchingIP)
}