mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 21:59:49 +00:00
update config variable name to ca_cert_path
This commit is contained in:
parent
85637f3c89
commit
aa70be5ae2
2 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ class PostgresKVStoreConfig(CommonConfig):
|
||||||
user: str
|
user: str
|
||||||
password: str | None = None
|
password: str | None = None
|
||||||
ssl_mode: str | None = None
|
ssl_mode: str | None = None
|
||||||
ssl_root_cert: str | None = None
|
ca_cert_path: str | None = None
|
||||||
table_name: str = "llamastack_kvstore"
|
table_name: str = "llamastack_kvstore"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ class PostgresKVStoreImpl(KVStore):
|
||||||
user=self.config.user,
|
user=self.config.user,
|
||||||
password=self.config.password,
|
password=self.config.password,
|
||||||
sslmode=self.config.ssl_mode,
|
sslmode=self.config.ssl_mode,
|
||||||
sslrootcert=self.config.ssl_root_cert,
|
sslrootcert=self.config.ca_cert_path,
|
||||||
)
|
)
|
||||||
self.conn.autocommit = True
|
self.conn.autocommit = True
|
||||||
self.cursor = self.conn.cursor(cursor_factory=DictCursor)
|
self.cursor = self.conn.cursor(cursor_factory=DictCursor)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue