Skip to content

Commit

Permalink
fix(BRIDGE-90): added status getter in gpa manager; removed caching f…
Browse files Browse the repository at this point in the history
…or govulncheck job
  • Loading branch information
ElectroNafta committed Jun 5, 2024
1 parent 85d5790 commit 0ab324e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ jobs:
with:
go-version-input: 1.21
go-package: ./...
cache: false
7 changes: 7 additions & 0 deletions manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 0ab324e

Please sign in to comment.