diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-02-04 08:54:55 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-02-04 08:58:54 +0100 |
commit | 492a75121375059a66accbbbd6af433acf6d7106 (patch) | |
tree | caec79591c0a886dd035384d476de86fb9e22d33 /docs/gl_objects | |
parent | dad134556dd624243c85b5f61a40cc893357492d (diff) | |
download | gitlab-492a75121375059a66accbbbd6af433acf6d7106.tar.gz |
Deploy keys: rework enable/disable
The method have been moved to the keys manager class as they don't make
sens at all on the project keys themselves.
Update doc and add tests.
Fixes #196
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/deploy_keys.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gl_objects/deploy_keys.py b/docs/gl_objects/deploy_keys.py index f86f2f7..5d85055 100644 --- a/docs/gl_objects/deploy_keys.py +++ b/docs/gl_objects/deploy_keys.py @@ -36,9 +36,9 @@ key.delete() # end delete # enable -deploy_key.enable() +project.keys.enable(key_id) # end enable # disable -deploy_key.disable() +project.keys.disable(key_id) # end disable |