From 9f0c0b443b665a5cdc9be9d7bb8bda4f0b17cce0 Mon Sep 17 00:00:00 2001 From: Cydney Stude <78751711+cydneystude@users.noreply.github.com> Date: Thu, 14 Jul 2022 09:33:26 -0400 Subject: [PATCH] Update iam_credentials.py --- cloudsaga/scenarios/iam_credentials.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudsaga/scenarios/iam_credentials.py b/cloudsaga/scenarios/iam_credentials.py index 6194c47d..683965c8 100644 --- a/cloudsaga/scenarios/iam_credentials.py +++ b/cloudsaga/scenarios/iam_credentials.py @@ -24,6 +24,7 @@ def get_cred_report(): iam_user.generate_credential_report() logging.info('Getting credential report') get_cred=iam_user.get_credential_report() + logging.info("IAM Credential Report generated/retrieved.") except Exception as exception_handle: logging.error(exception_handle) logging.info("IAM Credential Report could not be generated/retrieved.") @@ -32,5 +33,4 @@ def get_cred_report(): def main(): """Function that runs all of the previously defined functions""" get_cred_report() - logging.info("IAM Credential Report generated/retrieved.") - logging.info("This is the end of the script. Please check and cleanup any resources created from this script.") \ No newline at end of file + logging.info("This is the end of the script. Please check and cleanup any resources created from this script.")