diff options
| author | Sujith Simon <sujith.abraham.simon@huawei.com> | 2019-05-08 18:47:56 +0530 |
|---|---|---|
| committer | Rohit Sardesai <sardesai.rohit.prabhakar@huawei.com> | 2019-05-28 14:45:09 +0530 |
| commit | 0398f91f92a30948d9160deb6c0b36b223ed4814 (patch) | |
| tree | b4d8caf67e36b28c742845e00fb5a02e9441a97b | |
| parent | Merge pull request #574 from rohitsardesai83/automated-cherry-pick-of-#453-up... (diff) | |
| download | kubeedge-0398f91f92a30948d9160deb6c0b36b223ed4814.tar.gz | |
Changed exit status from 0 to 1 when bluetooth mapper exits due to bad configurations. Fixed typo in README of bluetooth mapper
| -rw-r--r-- | device/bluetooth_mapper/README.md | 2 | ||||
| -rw-r--r-- | device/bluetooth_mapper/configuration/config.yaml | 2 | ||||
| -rw-r--r-- | device/bluetooth_mapper/main.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/device/bluetooth_mapper/README.md b/device/bluetooth_mapper/README.md index 28b18d262..314c046b7 100644 --- a/device/bluetooth_mapper/README.md +++ b/device/bluetooth_mapper/README.md @@ -39,7 +39,7 @@ cd $GOPATH/src/github.com/kubeedge/kubeedge/device/bluetooth_mapper # 1. Replace <edge_node_name> with the name of your edge node at spec.template.spec.voluems.configMap.name # 2. Replace <your_dockerhub_username> with your dockerhub username at spec.template.spec.containers.image -kubectl create -f deplyment.yaml +kubectl create -f deployment.yaml ``` ## Modules diff --git a/device/bluetooth_mapper/configuration/config.yaml b/device/bluetooth_mapper/configuration/config.yaml index d2d1d5145..d0f63241d 100644 --- a/device/bluetooth_mapper/configuration/config.yaml +++ b/device/bluetooth_mapper/configuration/config.yaml @@ -18,7 +18,7 @@ action-manager: perform-immediately: true device-property-name: io-data-initialize #property-name defined in the device model - name: IOConfiguration - perform-immediately: false + perform-immediately: true device-property-name: io-config #property-name defined in the device model - name: IOData perform-immediately: false diff --git a/device/bluetooth_mapper/main.go b/device/bluetooth_mapper/main.go index 116a27157..7595c33e6 100644 --- a/device/bluetooth_mapper/main.go +++ b/device/bluetooth_mapper/main.go @@ -47,7 +47,7 @@ func main() { err := BleConfig.Load() if err != nil { glog.Errorf("Error in loading configuration: %s", err) - return + os.Exit(1) } bleController := controller.ControllerConfig{ Watcher: BleConfig.Watcher, |
