This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Commit 3d876bf
Dongsu Park
agent: squash loops into a single one in desiredAgentState
Commit "fleetd: support conflict in global unit" split out the loop in
desiredAgentState() into 2 loops, one for non-global units and the
other for global units. To follow the maintainer's suggestion, squash
the loops again into a single one.1 parent 2fc4f38 commit 3d876bf
1 file changed
+9
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
152 | 151 | | |
153 | 152 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 153 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
168 | 158 | | |
169 | 159 | | |
170 | 160 | | |
| |||
0 commit comments