Skip to content

Commit

Permalink
fix: supervisor save instance on activation failed
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Feb 23, 2024
1 parent f002891 commit 9e88651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/sephirah/internal/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ func (s *Supervisor) RefreshAliveInstances( //nolint:gocognit // TODO
logger.Errorf("%s", err2.Error())
ins.ConnectionStatus = modeltiphereth.PorterConnectionStatusActivationFailed
// bad instance, can't enable
aliveInstanceMap[address] = ins
continue
}
ins.ConnectionStatus = modeltiphereth.PorterConnectionStatusActive
Expand Down

0 comments on commit 9e88651

Please sign in to comment.