Skip to content

Commit

Permalink
Move S3 client to new location
Browse files Browse the repository at this point in the history
  • Loading branch information
mharding-hpe committed Dec 17, 2024
1 parent be993ca commit a6bd7ea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/bos/operators/session_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
from botocore.exceptions import ClientError

from bos.common.clients.bos.options import options
from bos.common.clients.s3 import S3Object, S3ObjectNotFound
from bos.common.tenant_utils import get_tenant_component_set, InvalidTenantException
from bos.common.utils import exc_type_msg
from bos.common.values import Action, EMPTY_ACTUAL_STATE, EMPTY_DESIRED_STATE, EMPTY_STAGED_STATE
from bos.operators.base import BaseOperator, main, chunk_components
from bos.operators.filters.filters import HSMState
from bos.operators.utils.clients.hsm import Inventory
from bos.operators.utils.clients.s3 import S3Object, S3ObjectNotFound
from bos.operators.utils.boot_image_metadata.factory import BootImageMetaDataFactory
from bos.operators.utils.rootfs.factory import ProviderFactory
from bos.operators.session_completion import SessionCompletionOperator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

from botocore.exceptions import ClientError

from bos.common.clients.s3 import S3BootArtifacts, S3MissingConfiguration, S3Url, \
ArtifactNotFound
from bos.common.utils import exc_type_msg
from bos.operators.utils.boot_image_metadata import BootImageMetaData, BootImageMetaDataBadRead
from bos.operators.utils.clients.s3 import S3BootArtifacts, S3MissingConfiguration, S3Url, \
ArtifactNotFound

LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion src/bos/server/controllers/v2/boot_set/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
# OTHER DEALINGS IN THE SOFTWARE.
#

from bos.common.clients.s3 import S3Object, ArtifactNotFound
from bos.common.utils import exc_type_msg
from bos.operators.utils.boot_image_metadata.factory import BootImageMetaDataFactory
from bos.operators.utils.clients.s3 import S3Object, ArtifactNotFound

from .defs import LOGGER
from .exceptions import BootSetError, BootSetWarning
Expand Down

0 comments on commit a6bd7ea

Please sign in to comment.