Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model 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
elixxir
client
Commits
994ca738
Commit
994ca738
authored
Mar 29, 2022
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Fix seg fault
parent
a3042cfa
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!233
Modify restore to call user-defined bindings callback. Add Sent requests to...
,
!231
Revert "Update store to print changes to the partners list"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ud/manager.go
+11
-8
11 additions, 8 deletions
ud/manager.go
with
11 additions
and
8 deletions
ud/manager.go
+
11
−
8
View file @
994ca738
...
...
@@ -111,12 +111,14 @@ func NewManager(client *api.Client, single *single.Manager) (*Manager, error) {
// already registered facts into store.
func
NewManagerFromBackup
(
client
*
api
.
Client
,
single
*
single
.
Manager
,
email
,
phone
fact
.
Fact
)
(
*
Manager
,
error
)
{
jww
.
INFO
.
Println
(
"ud.NewManager()"
)
jww
.
INFO
.
Println
(
"ud.NewManager
FromBackup
()"
)
if
client
.
NetworkFollowerStatus
()
!=
api
.
Running
{
return
nil
,
errors
.
New
(
"cannot start UD Manager when network follower is not running."
)
}
registered
:=
uint32
(
0
)
m
:=
&
Manager
{
client
:
client
,
comms
:
client
.
GetComms
(),
...
...
@@ -125,6 +127,7 @@ func NewManagerFromBackup(client *api.Client, single *single.Manager,
storage
:
client
.
GetStorage
(),
net
:
client
.
GetNetworkInterface
(),
single
:
single
,
registered
:
&
registered
,
}
err
:=
m
.
client
.
GetStorage
()
.
GetUd
()
.
...
...
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