mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-20 11:02:59 +02:00
Maint: minor DNS loop fixes and changes
This commit is contained in:
@@ -120,7 +120,7 @@ func (s *state) ApplyStatus(ctx context.Context, status models.LoopStatus) (
|
||||
}
|
||||
s.SetStatus(newStatus)
|
||||
|
||||
return status.String(), nil
|
||||
return newStatus.String(), nil
|
||||
default:
|
||||
return "", fmt.Errorf("%w: %s: it can only be one of: %s, %s",
|
||||
ErrInvalidStatus, status, constants.Running, constants.Stopped)
|
||||
|
||||
Reference in New Issue
Block a user