Commit 8bad10a
authored
Clear all data from DB table when the daemon stops (sonic-net#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 da3dbcc commit 8bad10a
2 files changed
Lines changed: 23 additions & 18 deletions
| 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 | | |
| |||
550 | 556 | | |
551 | 557 | | |
552 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
553 | 569 | | |
554 | 570 | | |
555 | 571 | | |
| |||
778 | 794 | | |
779 | 795 | | |
780 | 796 | | |
781 | | - | |
782 | 797 | | |
783 | 798 | | |
784 | 799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | 157 | | |
168 | 158 | | |
169 | 159 | | |
| |||
0 commit comments