Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c78cdd71
Commit
c78cdd71
authored
Sep 22, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an error reporting some failures in the elasticsearch indexer
parent
fc805edf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased-ee/3516-fix-nomethoderror-zero-on-nil.yml
...logs/unreleased-ee/3516-fix-nomethoderror-zero-on-nil.yml
+5
-0
lib/gitlab/elastic/indexer.rb
lib/gitlab/elastic/indexer.rb
+1
-1
No files found.
changelogs/unreleased-ee/3516-fix-nomethoderror-zero-on-nil.yml
0 → 100644
View file @
c78cdd71
---
title
:
Fix an error reporting some failures in the elasticsearch indexer
merge_request
:
2998
author
:
type
:
fixed
lib/gitlab/elastic/indexer.rb
View file @
c78cdd71
...
...
@@ -63,7 +63,7 @@ module Gitlab
output
,
status
=
Gitlab
::
Popen
.
popen
(
command
,
nil
,
vars
)
raise
Error
,
output
unless
status
.
zero?
raise
Error
,
output
unless
status
&
.
zero?
end
def
update_index_status
(
to_sha
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment