Skip to content

Commit

Permalink
Rebase changs -- to be verified
Browse files Browse the repository at this point in the history
  • Loading branch information
juditnovak committed Oct 13, 2023
1 parent 3e5fbea commit f5ddc6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/charms/mongodb/v0/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import secrets
import string
import subprocess
from typing import List
from typing import List, Optional, Union

from charms.mongodb.v0.mongodb import MongoDBConfiguration, MongoDBConnection
from ops.model import (
Expand Down
15 changes: 1 addition & 14 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import logging
import os
import pwd
import re
import subprocess
import time
from pathlib import Path
Expand Down Expand Up @@ -73,18 +72,8 @@
from tenacity import Retrying, before_log, retry, stop_after_attempt, wait_fixed

from config import Config
from exceptions import (
AdminUserCreationError,
ApplicationHostNotFoundError,
SecretNotAddedError,
)
from machine_helpers import MONGO_USER, ROOT_USER_GID, update_mongod_service
from exceptions import AdminUserCreationError, ApplicationHostNotFoundError
from machine_helpers import (
push_file_to_unit,
remove_file_from_unit,
update_mongod_service,
)
from machine_helpers import MONGO_USER, ROOT_USER_GID, update_mongod_service

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -1355,8 +1344,6 @@ def _generate_relation_departed_key(rel_id: int) -> str:
"""Generates the relation departed key for a specified relation id."""
return f"relation_{rel_id}_departed"

=======
>>>>>>> d20f1d6 (Secret labels)
# END: helper functions


Expand Down

0 comments on commit f5ddc6a

Please sign in to comment.