Skip to content

Commit

Permalink
Merge pull request #42 from hitachi-vantara/pre-version
Browse files Browse the repository at this point in the history
Fixed log bundle issue
  • Loading branch information
rsahuHitachi authored Jul 1, 2024
2 parents bffdf55 + 0e59382 commit b50af88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ jobs:
# Attempt to delete the existing collection (if supported)
# Note: This step requires API support for deletion
# Uncomment the line below if your Galaxy server supports API deletion
curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/versions/3.0.119/" -H "Authorization: Token $API_KEY"
curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/versions/3.0.120/" -H "Authorization: Token $API_KEY"
curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/versions/3.0.118/" -H "Authorization: Token $API_KEY"
#curl -X DELETE "https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/index/hitachivantara/vspone_block/" -H "Authorization: Token $API_KEY"
# Sleep for 60 seconds to ensure the deletion is processed
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: hitachivantara
name: vspone_block
version: 3.0.120
version: 3.0.121
readme: README.md
authors:
- Hitachi Vantara Ansible Team
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/vsp/hv_troubleshooting_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def main(module=None):
tempdir = datetime.now().strftime(
"ansible_log_bundle_%Y_%m_%d_%H_%M_%S"
)
zipdir = get_logger_dir()
zipdir = get_logger_dir() + "/log_bundles"
zipPath = os.path.join(zipdir, "{0}.zip".format(tempdir))

try:
Expand Down

0 comments on commit b50af88

Please sign in to comment.