Commit 5a882ee 1 parent 79cdd7d commit 5a882ee Copy full SHA for 5a882ee
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,6 @@ def apply_total_with_repo_instance(
296
296
for data_source in data_sources :
297
297
data_source .validate (store .config )
298
298
299
- registry_diff , infra_diff , new_infra = store .plan (repo )
300
-
301
299
# For each object in the registry, determine whether it should be kept or deleted.
302
300
(
303
301
all_to_apply ,
@@ -306,9 +304,10 @@ def apply_total_with_repo_instance(
306
304
views_to_delete ,
307
305
) = extract_objects_for_apply_delete (project , registry , repo )
308
306
309
- click .echo (registry_diff .to_string ())
310
-
311
307
if store ._should_use_plan ():
308
+ registry_diff , infra_diff , new_infra = store .plan (repo )
309
+ click .echo (registry_diff .to_string ())
310
+
312
311
store ._apply_diffs (registry_diff , infra_diff , new_infra )
313
312
click .echo (infra_diff .to_string ())
314
313
else :
You can’t perform that action at this time.
0 commit comments