mirror of
https://github.com/ProtonMail/go-proton-api.git
synced 2025-12-23 23:57:50 -05:00
fix(BRIDGE-90): added status getter in gpa manager; removed caching for govulncheck job
This commit is contained in:
committed by
ElectroNafta
parent
85d57907d3
commit
0ab324e838
1
.github/workflows/check.yml
vendored
1
.github/workflows/check.yml
vendored
@@ -32,3 +32,4 @@ jobs:
|
||||
with:
|
||||
go-version-input: 1.21
|
||||
go-package: ./...
|
||||
cache: false
|
||||
|
||||
@@ -131,3 +131,10 @@ func (m *Manager) onConnUp() {
|
||||
observer(m.status)
|
||||
}
|
||||
}
|
||||
|
||||
func (m *Manager) GetStatus() Status {
|
||||
m.statusLock.Lock()
|
||||
defer m.statusLock.Unlock()
|
||||
|
||||
return m.status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user