Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
refactor(mqtt): rewrite remove policy method
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <[email protected]>
  • Loading branch information
rafaelje authored and Ivan Del Pino committed Dec 14, 2018
1 parent e66513f commit c8ce693
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ private void storage() {
}

public void remove() {
if(!policyName.isEmpty()) {
data.removeValue(policyName, policyPriority);
if(!this.mqttTaskId.isEmpty()) {
data.removeValue(this.mqttTaskId);
}
}

Expand Down

0 comments on commit c8ce693

Please sign in to comment.