mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 18:19:51 +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
|
||||
password: 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"
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class PostgresKVStoreImpl(KVStore):
|
|||
user=self.config.user,
|
||||
password=self.config.password,
|
||||
sslmode=self.config.ssl_mode,
|
||||
sslrootcert=self.config.ssl_root_cert,
|
||||
sslrootcert=self.config.ca_cert_path,
|
||||
)
|
||||
self.conn.autocommit = True
|
||||
self.cursor = self.conn.cursor(cursor_factory=DictCursor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue