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

Fix seeddb netbox-edit form so that empty function field will remove function info from netbox #2952

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jorund1
Copy link
Collaborator

@jorund1 jorund1 commented Aug 19, 2024

Fixes #2269

@CLAassistant
Copy link

CLAassistant commented Aug 19, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.46%. Comparing base (ea42b94) to head (4b269d1).
Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2952      +/-   ##
==========================================
+ Coverage   56.35%   56.46%   +0.10%     
==========================================
  Files         603      601       -2     
  Lines       43849    43816      -33     
  Branches       48       48              
==========================================
+ Hits        24713    24741      +28     
+ Misses      19124    19063      -61     
  Partials       12       12              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jorund1 jorund1 force-pushed the seeddb-empty-netbox-function-field-fix-aug-19 branch 4 times, most recently from a14ca71 to 6241213 Compare August 23, 2024 10:09
@jorund1 jorund1 force-pushed the seeddb-empty-netbox-function-field-fix-aug-19 branch from 6241213 to b843585 Compare August 23, 2024 10:34
Copy link
Member

@lunkwill42 lunkwill42 left a comment

Choose a reason for hiding this comment

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

Nice work, @jorund1 :) Please don't forget to sign the updated CLA.

python/nav/web/seeddb/page/netbox/edit.py Outdated Show resolved Hide resolved
@jorund1 jorund1 marked this pull request as ready for review August 23, 2024 12:41
Copy link
Member

@lunkwill42 lunkwill42 left a comment

Choose a reason for hiding this comment

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

Okay - but the linter check (v/Black) is not happy. Did you remember to enable the pre-commit hooks?

@jorund1
Copy link
Collaborator Author

jorund1 commented Aug 23, 2024

Did you remember to enable the pre-commit hooks?

My bad, fixed now!

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.

[BUG] ipdevinfo shows empty Function-field for some hosts
4 participants