Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab plugin: Fix global dry_run check #421

Merged
merged 1 commit into from Aug 8, 2019
Merged

Conversation

ogenstad
Copy link
Collaborator

@ogenstad ogenstad commented Aug 5, 2019

While I haven't tried this plugin I don't think it was working as intended. Since the dry_run was set to False in gitlab() function the call to task.is_dry_run() would always have returned False, or True if dry_run=True had been passed to gitlab(), since task.is_dry_run() was used I assume that the idea was to default to the global setting and instead allow dry_run to be overridden on this task level.

@dbarrosop dbarrosop merged commit 2fa6d4d into develop Aug 8, 2019
@ogenstad ogenstad deleted the ogenstad/gitlab_dry branch August 8, 2019 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants