Commit 4dc2d0a
Clear all data from DB table when the daemon stops (#228)
Description
Clear all data from DB table when the daemon stops
Motivation and Context
Clean up when the daemon stops
How Has This Been Tested?
Check Thermal and physical info data if they are cleared after stopping the thermalctld.1 parent 1df28d7 commit 4dc2d0a
File tree
2 files changed
+23
-18
lines changed- sonic-thermalctld
- scripts
- tests
2 files changed
+23
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
216 | 222 | | |
217 | 223 | | |
218 | 224 | | |
| |||
544 | 550 | | |
545 | 551 | | |
546 | 552 | | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
547 | 563 | | |
548 | 564 | | |
549 | 565 | | |
| |||
732 | 748 | | |
733 | 749 | | |
734 | 750 | | |
735 | | - | |
736 | 751 | | |
737 | 752 | | |
738 | 753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 151 | | |
162 | 152 | | |
163 | 153 | | |
| |||
0 commit comments