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
Léo-Paul Géneau
gitlab-ce
Commits
017a5068
Commit
017a5068
authored
Jan 30, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spec failure
parent
bd6b13c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/import_export/relation_factory.rb
lib/gitlab/import_export/relation_factory.rb
+1
-1
No files found.
lib/gitlab/import_export/relation_factory.rb
View file @
017a5068
...
@@ -154,7 +154,7 @@ module Gitlab
...
@@ -154,7 +154,7 @@ module Gitlab
end
end
def
remove_encrypted_attributes!
def
remove_encrypted_attributes!
return
if
relation_class
.
encrypted_attributes
.
empt
y?
return
unless
relation_class
.
respond_to?
(
:encrypted_attributes
)
&&
relation_class
.
encrypted_attributes
.
an
y?
relation_class
.
encrypted_attributes
.
each_key
do
|
key
|
relation_class
.
encrypted_attributes
.
each_key
do
|
key
|
@relation_hash
[
key
.
to_s
]
=
nil
@relation_hash
[
key
.
to_s
]
=
nil
...
...
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