Commit a0669342 authored by Robert Speicher's avatar Robert Speicher

Explain create_tree_error_code formatting

parent 88ea03f9
......@@ -33,6 +33,7 @@ module Gitlab
def initialize(error_code)
super(self.class.name)
# The value coming from Gitaly is an uppercase String (e.g., "EMPTY")
@error_code = error_code.downcase.to_sym
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment