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

Added generic function for search by alt id. #225

Merged
merged 13 commits into from
Mar 19, 2024

Conversation

sdas-infoblox
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@hemanthKa677 hemanthKa677 left a comment

Choose a reason for hiding this comment

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

besides that comment, looks good to me

} else if strings.TrimSpace(internalId) == "" {
// return object if internal id is empty
success = true
return success, nil
Copy link
Collaborator

Choose a reason for hiding this comment

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

why it is returned true here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We should return the return response received when fetched by ref and the internal id is empty. I should have updated the comment to return true if response is not nil and internal id is empty.

Copy link
Collaborator

@hemanthKa677 hemanthKa677 left a comment

Choose a reason for hiding this comment

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

LGTM

@sdas-infoblox sdas-infoblox merged commit 86912c1 into infobloxopen:master Mar 19, 2024
@sdas-infoblox sdas-infoblox deleted the generic_uq_id branch March 19, 2024 09:18
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