mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-24 22:21:26 +00:00
Fix "filters.type" query
This commit is contained in:
parent
83175490a7
commit
55b1efa8e9
@ -230,9 +230,6 @@ async def fetch_advisories_compat(
|
|||||||
limit (select size from vars) offset (select page_offset from vars)
|
limit (select size from vars) offset (select page_offset from vars)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if kind:
|
|
||||||
kind = f"TYPE_{kind.upper()}"
|
|
||||||
|
|
||||||
connection = connections.get("default")
|
connection = connections.get("default")
|
||||||
results = await connection.execute_query(
|
results = await connection.execute_query(
|
||||||
a, [
|
a, [
|
||||||
@ -245,7 +242,7 @@ async def fetch_advisories_compat(
|
|||||||
cve,
|
cve,
|
||||||
synopsis,
|
synopsis,
|
||||||
severity,
|
severity,
|
||||||
kind,
|
kind.upper() if kind else kind,
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ image:
|
|||||||
repository: ghcr.io/resf/apollo-server
|
repository: ghcr.io/resf/apollo-server
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "7234e90"
|
tag: "cc92597"
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user