Skip to content

Fixes Issue #1323 - exists method failing on GTM topology records#1347

Merged
caphrim007 merged 3 commits intoF5Networks:developmentfrom
jasonrahm:bug.1323
Jan 1, 2018
Merged

Fixes Issue #1323 - exists method failing on GTM topology records#1347
caphrim007 merged 3 commits intoF5Networks:developmentfrom
jasonrahm:bug.1323

Conversation

@jasonrahm
Copy link
Copy Markdown

Problem: The / and ~ characters are disallowed in sdk URLs

Resolution: Overload the exists method for topology by applying:
kwargs['transform_name'] = True

…ecords

Problem: The / and ~ characters are disallowed in sdk URLs

Resolution: Overload the exists method for topology by applying:
  kwargs['transform_name'] = True
@caphrim007
Copy link
Copy Markdown
Contributor

Can't set status; build succeeded.

@jasonrahm
Copy link
Copy Markdown
Author

hold off on merge until I hear back from the bug reporter that the fix works for him. I confirmed the behavior and the fix locally, but want to make sure.

@jasonrahm
Copy link
Copy Markdown
Author

@caphrim007 this fixes the problem, but also allows the partition kwarg but likely should not for topology records. Should I pop that kwarg if applied to guard against unintentional issues?

@caphrim007
Copy link
Copy Markdown
Contributor

@jasonrahm yes. If this changes in the future we can address it with a version check

@jasonrahm
Copy link
Copy Markdown
Author

ok, I'll add that and push later. Thanks

@caphrim007
Copy link
Copy Markdown
Contributor

Can't set status; build succeeded.

@jasonrahm
Copy link
Copy Markdown
Author

@caphrim007 ready for review

if statement is not needed when doing popping like this. You can provide pop with a default value
@caphrim007
Copy link
Copy Markdown
Contributor

Can't set status; build succeeded.

@caphrim007 caphrim007 merged commit 2a73239 into F5Networks:development Jan 1, 2018
@jasonrahm jasonrahm deleted the bug.1323 branch January 1, 2018 14:07
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.

3 participants