Repository navigation
Commit 91a8ab6
authored
Fix airflowctl pools export/import dropping pool team ownership (#73132)
Multi-team deployments assign pools to a team via team_name. Backing pools
up and restoring them silently lost that ownership: the exported file never
carried the field, and an import with --action-on-existing-key overwrite
sent it as null, which the server then wrote back over the existing pool.
The deprecated airflow pools export/import that this command supersedes does
round-trip team_name, so the gap only bites users who follow the migration
notice onto airflowctl.
Co-authored-by: Eason09053360 <185830721+Eason09053360@users.noreply.github.com>1 parent 6997dc7 commit 91a8ab6
2 files changed
Lines changed: 47 additions & 0 deletions
File tree
- airflow-ctl
- src/airflowctl/ctl/commands
- tests/airflow_ctl/ctl/commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
139 | 156 | | |
140 | 157 | | |
141 | 158 | | |
| |||
155 | 172 | | |
156 | 173 | | |
157 | 174 | | |
| 175 | + | |
158 | 176 | | |
159 | 177 | | |
160 | 178 | | |
| |||
191 | 209 | | |
192 | 210 | | |
193 | 211 | | |
| 212 | + | |
194 | 213 | | |
195 | 214 | | |
196 | 215 | | |
| |||
204 | 223 | | |
205 | 224 | | |
206 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
207 | 252 | | |
208 | 253 | | |
209 | 254 | | |
| |||
0 commit comments