Commit 574a702
committed
Image controller: don't attempt upload when adopting
When an image is to be adopted, the controller would still attempt to
upload content when it observed the image in the queued state after
having been created externally. This didn't result in incorrect
behaviour because API validation ensures that images for adoption don't
specify a source. This meant that no upload could be attempted, but it
did result in a spurious error message reported both to the user and in
the logs.1 parent 6560f88 commit 574a702
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
| |||
0 commit comments