Skip to content

Commit

Permalink
Add comment to explain nil
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonMatthes committed Mar 13, 2019
1 parent 6ceb6e4 commit 63424d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_vm_in_cluster(cluster)

def push_to_git_with_warnings
push_to_git
nil
nil # no warning
rescue Git::GitExecuteError => error
logger.error error
"Your VM was created, but users could not be associated with the VM! Push to git failed, error:\n\"#{error.message}\""
Expand Down

0 comments on commit 63424d4

Please sign in to comment.