Skip to content

Consolidate code for HAS_INFRAHUBCLIENT#229

Open
ogenstad wants to merge 1 commit intodevelopfrom
pog-consolidate-HAS_INFRAHUBCLIENT
Open

Consolidate code for HAS_INFRAHUBCLIENT#229
ogenstad wants to merge 1 commit intodevelopfrom
pog-consolidate-HAS_INFRAHUBCLIENT

Conversation

@ogenstad
Copy link
Copy Markdown
Contributor

Contrast to Current Behavior

This PR consolidates some of the code and behaviour around HAS_INFRAHUBCLIENT

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jun 19, 2025

Deploying infrahub-ansible with  Cloudflare Pages  Cloudflare Pages

Latest commit: 201f655
Status: ✅  Deploy successful!
Preview URL: https://9a4bcc0a.infrahub-ansible.pages.dev
Branch Preview URL: https://pog-consolidate-has-infrahub.infrahub-ansible.pages.dev

View logs

@ogenstad ogenstad force-pushed the pog-consolidate-HAS_INFRAHUBCLIENT branch from ba1334d to 848657c Compare June 19, 2025 15:17
@ogenstad ogenstad force-pushed the pog-consolidate-HAS_INFRAHUBCLIENT branch from 848657c to 201f655 Compare June 19, 2025 15:28
@ogenstad
Copy link
Copy Markdown
Contributor Author

@BeArchiTek, this was just something that I considered while looking at this repo. I'm not sure it turned out that great as Ansible had some restrictions with regards to the imports in place. My goal was just to familiarize myself with the code and noticed something that could later improve code coverage to avoid having to test for issues if the SDK was installed in multiple places.

It still might be a bit cleaner than what we had but I'm not completely sure, what do you think?

@BeArchiTek
Copy link
Copy Markdown
Contributor

Let's say those checks grow organically to please ansible-lint...
As it didn't complain on this PR, athis change is not an issue from an "ansible point of view"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants