diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-05-06 13:15:03 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-05-06 13:15:03 +0000 |
commit | 18c07084a6faea04ab446e523fff603843406ac8 (patch) | |
tree | b13bd44f9f56f32afb4ed387284e45102d653a4f /changelogs | |
parent | 53823531ff88f8c568973841fac66e3629df7522 (diff) | |
download | gitlab-ce-18c07084a6faea04ab446e523fff603843406ac8.tar.gz |
Destroy repo mirrors instead of disabling them
It is important to destroy data related to repo mirrors when they are
disabled.
Use `_destroy` nested attribute instead of `enabled` for push mirrors.
Call `remove_import_data` after saving a project if its pull mirror is
disabled.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml b/changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml new file mode 100644 index 00000000000..ac5fc27cf36 --- /dev/null +++ b/changelogs/unreleased/ce-its-simple-just-destroy-the-mirrors.yml @@ -0,0 +1,5 @@ +--- +title: Destroy project remote mirrors instead of disabling +merge_request: 27087 +author: +type: security |