Skip to content

Commit

Permalink
Changing return value for Discovery create method (SatelliteQE#978)
Browse files Browse the repository at this point in the history
Signed-off-by: Adarsh Dubey <[email protected]>
(cherry picked from commit f62e367)
  • Loading branch information
adarshdubey-star authored and ogajduse committed Aug 7, 2023
1 parent 38ee099 commit f63e5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ def create(self, create_missing=None):
<https://bugzilla.redhat.com/show_bug.cgi?id=1381129>`_.
"""
return type(self)(
return DiscoveryRule(
self._server_config,
id=self.create_json(create_missing)['id'],
).read()
Expand Down

0 comments on commit f63e5e6

Please sign in to comment.