Skip to content

Commit 33646b4

Browse files
status: remove err when marking sub-server as running
Ensure that the sub-server error string is set to an empty string when marking a sub-server as running. This will be important for the next commit, which will retry to start the lnd sub-server even if we error when starting the lnd-client(s), and therefore may mark the lnd sub-server as running even after we've errored when starting the lnd-client(s).
1 parent b0dbbe9 commit 33646b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

status/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ func (s *Manager) SetRunning(name string) {
216216
}
217217

218218
ss.Running = true
219+
ss.Err = ""
219220
ss.customStatus = ""
220221
}
221222

0 commit comments

Comments
 (0)