Skip to content

Commit

Permalink
Run pre-commit over GH suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
zsusswein committed Aug 26, 2024
1 parent e0a3a59 commit 926ff27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/azure.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ fetch_blob_container <- function(container_name) {
cli::cli_alert_info("Loading Azure credentials from env vars")
# nolint start: object_name_linter
az_tenant_id <- fetch_credential_from_env_var("az_tenant_id ")
az_subscription_id<- fetch_credential_from_env_var("az_subscription_id")
az_resource_group<- fetch_credential_from_env_var("az_resource_group")
az_storage_account<- fetch_credential_from_env_var("az_storage_account")
az_subscription_id <- fetch_credential_from_env_var("az_subscription_id")
az_resource_group <- fetch_credential_from_env_var("az_resource_group")
az_storage_account <- fetch_credential_from_env_var("az_storage_account")
# nolint end: object_name_linter
cli::cli_alert_success("Credentials loaded successfully")


cli::cli_alert_info("Authenticating with loaded credentials")
az <- AzureRMR::get_azure_login(az_tenant_id )
az <- AzureRMR::get_azure_login(az_tenant_id)
subscription <- az$get_subscription(az_subscription_id)
resource_group <- subscription$get_resource_group(az_resource_group)
storage_account <- resource_group$get_storage_account(az_storage_account)
Expand Down

0 comments on commit 926ff27

Please sign in to comment.