Skip to content

Commit

Permalink
[DPE-2297] Tweak lib for use in focal charms (#287)
Browse files Browse the repository at this point in the history
* Tweak lib for use in focal charms

* Bump lock

* Revert "Bump lock"

This reverts commit a2e31bb.

* Bump version manifest
  • Loading branch information
dragomirp authored Oct 11, 2023
1 parent e1d846e commit 29e59e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/charms/postgresql_k8s/v0/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Any charm using this library should import the `psycopg2` or `psycopg2-binary` dependency.
"""
import logging
from typing import List, Optional, Set, Tuple
from typing import Dict, List, Optional, Set, Tuple

import psycopg2
from psycopg2 import sql
Expand All @@ -32,7 +32,7 @@

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 15
LIBPATCH = 16

INVALID_EXTRA_USER_ROLE_BLOCKING_MESSAGE = "invalid role(s) for extra user roles"

Expand Down Expand Up @@ -441,7 +441,7 @@ def is_restart_pending(self) -> bool:
@staticmethod
def build_postgresql_parameters(
profile: str, available_memory: int, limit_memory: Optional[int] = None
) -> Optional[dict[str, str]]:
) -> Optional[Dict[str, str]]:
"""Builds the PostgreSQL parameters.
Args:
Expand Down
2 changes: 1 addition & 1 deletion src/dependency.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"dependencies": {},
"name": "charmed-postgresql",
"upgrade_supported": "^14",
"version": "14.8"
"version": "14.9"
}
}

0 comments on commit 29e59e2

Please sign in to comment.