Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve minimum package error message #271

Merged
merged 2 commits into from
Oct 5, 2021
Merged

Improve minimum package error message #271

merged 2 commits into from
Oct 5, 2021

Conversation

jamesholland-uk
Copy link
Member

Description

Change error message and update comment in code for pandevice/pan-os-python minimum version

Motivation and Context

Current error message states "panos version < minimum" which infers PAN-OS version on firewall/Panorama is below minimum. What is really meant is that the pan-os-python package is not at the minimum version, not the PAN-OS devices.

How Has This Been Tested?

Single string update, tested locally

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

Current error message states "panos version < minimum" which infers PAN-OS version on firewall/Panorama. What is really meant is that the pan-os-python package is not at the minimum version.
Copy link
Collaborator

@shinmog shinmog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@shinmog
Copy link
Collaborator

shinmog commented Sep 28, 2021

Need to black this to fix the formatting tho

@jamesholland-uk
Copy link
Member Author

@shinmog Reformatted dude :-)

Copy link
Collaborator

@shinmog shinmog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@shinmog shinmog merged commit a77a53d into PaloAltoNetworks:develop Oct 5, 2021
github-actions bot pushed a commit that referenced this pull request Oct 5, 2021
## [2.9.0](v2.8.0...v2.9.0) (2021-10-05)

### Features

* **panos_object_facts:** Add support for Custom URL Categories ([#249](#249)) ([30be003](30be003))

### Bug Fixes

* Improve minimum package error message ([#271](#271)) ([a77a53d](a77a53d))
* **panos_nat_rule:** Correct KeyError for dynamic xlate ([#267](#267)) ([03071b4](03071b4))
@github-actions
Copy link

github-actions bot commented Oct 5, 2021

🎉 This PR is included in version 2.9.0 🎉

The release is available on Ansible Galaxy and GitHub release

Posted by semantic-release bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants