Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Dec 12, 2020

Error before this commit when running kibble-scanner:

'Using direct ElasticSearch broker model'
[core]: Connecting to ElasticSearch database at elasticsearch:9200...
[core]: Connected!
[core]: This is a type-less DB, expanding database names instead.
[core]: We're using ES >= 7.x, NO DOC_TYPE!
Traceback (most recent call last):
  File "kibble-scanner.py", line 197, in <module>
    main()
  File "kibble-scanner.py", line 145, in main
    broker = kibbleES.Broker(config)
  File "/kibble/kibble/scanners/brokers/kibbleES.py", line 340, in __init__
    if apidoc["dbversion"] > KIBBLE_DB_VERSION:
TypeError: '>' not supported between instances of 'str' and 'int'

This PR fixes it

cc @turbaszek @michalslowikowski00 @Humbedooh

Error before this commit when running kibble-scanner:

```
'Using direct ElasticSearch broker model'
[core]: Connecting to ElasticSearch database at elasticsearch:9200...
[core]: Connected!
[core]: This is a type-less DB, expanding database names instead.
[core]: We're using ES >= 7.x, NO DOC_TYPE!
Traceback (most recent call last):
  File "kibble-scanner.py", line 197, in <module>
    main()
  File "kibble-scanner.py", line 145, in main
    broker = kibbleES.Broker(config)
  File "/kibble/kibble/scanners/brokers/kibbleES.py", line 340, in __init__
    if apidoc["dbversion"] > KIBBLE_DB_VERSION:
TypeError: '>' not supported between instances of 'str' and 'int'
```
@turbaszek turbaszek merged commit d9a3893 into apache:main Dec 13, 2020
@kaxil kaxil deleted the fix-broken-scanners branch December 13, 2020 12:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants