Skip to content

Create new object instead of modify#8

Open
aSauerwein wants to merge 3 commits intoCiscoDevNet:mainfrom
aSauerwein:master
Open

Create new object instead of modify#8
aSauerwein wants to merge 3 commits intoCiscoDevNet:mainfrom
aSauerwein:master

Conversation

@aSauerwein
Copy link

This Pull requests contains 1 small bug fix and 1 change
bug fix:
intersight.py line #188
Some error do not return anybody, thus resulting in a KeyError instead of a RuntimeError.

change:
intersight_rest_api.oy line #149 ff
in my opinion 2 tasks with a different "name" in the "api_body" should create 2 objects ( currently objects are overwriten, regardless of the api_body )
I changed the behavior to only overwrite an object if there's already an object existing with the name equals to the name in the "api_body"

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.

1 participant