|
@@ -3,6 +3,7 @@ package pkg
|
|
|
import (
|
|
|
commonConfig "cicv-data-closedloop/aarch64/pjibot_guide/common/config"
|
|
|
"cicv-data-closedloop/common/config/c_log"
|
|
|
+ "fmt"
|
|
|
"time"
|
|
|
)
|
|
|
|
|
@@ -31,6 +32,7 @@ func GetCloudConfig(cloudStatus string, lastCloudStatus string, turnLength int)
|
|
|
for {
|
|
|
time.Sleep(time.Duration(turnLength) * time.Second)
|
|
|
if cloudStatus == "CHANGE" {
|
|
|
+ fmt.Println("2")
|
|
|
commonConfig.InitPlatformConfig()
|
|
|
}
|
|
|
}
|