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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
c74820db
Commit
c74820db
authored
Jan 16, 2019
by
Jason Colyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify file restore to rectify tar issue
Fixed typo in run_pipeline! function -> Open3.pieline to Open3.pipeline
parent
f88b464b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/backup/files.rb
lib/backup/files.rb
+1
-1
No files found.
lib/backup/files.rb
View file @
c74820db
...
@@ -73,7 +73,7 @@ module Backup
...
@@ -73,7 +73,7 @@ module Backup
def
run_pipeline!
(
cmd_list
,
options
=
{})
def
run_pipeline!
(
cmd_list
,
options
=
{})
err_r
,
err_w
=
IO
.
pipe
err_r
,
err_w
=
IO
.
pipe
options
[
:err
]
=
err_w
options
[
:err
]
=
err_w
status
=
Open3
.
pieline
(
*
cmd_list
,
options
)
status
=
Open3
.
pi
p
eline
(
*
cmd_list
,
options
)
err_w
.
close
err_w
.
close
return
if
status
.
compact
.
all?
(
&
:success?
)
return
if
status
.
compact
.
all?
(
&
:success?
)
...
...
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