Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-go
Commits
6374f1d7
Commit
6374f1d7
authored
2 years ago
by
ko_oler
Browse files
Options
Downloads
Patches
Plain Diff
правки по ПР
parent
86d159be
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pkg/setup/collection.go
+1
-1
1 addition, 1 deletion
pkg/setup/collection.go
pkg/setup/collection_test.go
+1
-1
1 addition, 1 deletion
pkg/setup/collection_test.go
with
2 additions
and
2 deletions
pkg/setup/collection.go
+
1
−
1
View file @
6374f1d7
...
@@ -113,7 +113,7 @@ func (s *Setup) InstallCollections(ctx context.Context) (err error) {
...
@@ -113,7 +113,7 @@ func (s *Setup) InstallCollections(ctx context.Context) (err error) {
zap
.
Error
(
err
),
zap
.
Error
(
err
),
)
)
return
errors
.
WithDetail
(
errors
.
Wrap
(
err
,
"migrate environment"
),
"Возникла ошибка при миграции данных"
)
)
return
errors
.
WithDetail
(
errors
.
Wrap
(
err
,
"migrate environment"
),
"Возникла ошибка при миграции данных"
)
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
pkg/setup/collection_test.go
+
1
−
1
View file @
6374f1d7
...
@@ -105,7 +105,7 @@ func TestSetup_InstallCollections(t *testing.T) {
...
@@ -105,7 +105,7 @@ func TestSetup_InstallCollections(t *testing.T) {
wantErr
:
func
(
t
*
testing
.
T
,
err
error
)
{
wantErr
:
func
(
t
*
testing
.
T
,
err
error
)
{
assert
.
Error
(
t
,
err
)
assert
.
Error
(
t
,
err
)
assert
.
EqualError
(
t
,
err
,
"migrate environment: migrate error"
)
assert
.
EqualError
(
t
,
err
,
"migrate environment: migrate error"
)
assert
.
Contains
(
t
,
errors
.
GetDetail
(
err
),
"Возникла ошибка при миграции
коллекций
"
)
assert
.
Contains
(
t
,
errors
.
GetDetail
(
err
),
"Возникла ошибка при миграции
данных
"
)
},
},
},
},
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment