Skip to content

Fix db bootstrap logic#1180

Open
toothstone wants to merge 1 commit into
mainfrom
fix-compliance-monitor-db-bootstrap
Open

Fix db bootstrap logic#1180
toothstone wants to merge 1 commit into
mainfrom
fix-compliance-monitor-db-bootstrap

Conversation

@toothstone
Copy link
Copy Markdown
Contributor

@toothstone toothstone commented May 27, 2026

An empty db has a current version of 'None', so we have to make sure to check for that first and leave the loop before encountering the '>=' comparison to avoid a TypeError.

@toothstone toothstone force-pushed the fix-compliance-monitor-db-bootstrap branch from 2ce96b8 to 6a6934b Compare May 27, 2026 13:40
An empty db has a current version of 'None',
so we have to make sure to check for that first and leave the loop
before encountering the '>=' comparison to avoid a TypeError.

Signed-off-by: Friedrich Zahn <friedrich.zahn@alasca.cloud>
@toothstone toothstone force-pushed the fix-compliance-monitor-db-bootstrap branch from 6a6934b to 410250a Compare May 27, 2026 13:41
@toothstone toothstone added the bug Something isn't working label May 27, 2026
@depressiveRobot depressiveRobot removed their request for review May 29, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant