Skip to content

Commit

Permalink
Merge pull request #1134 from balasankarrajaguru/fix_dcs_component
Browse files Browse the repository at this point in the history
Populate the component
  • Loading branch information
Nitin Kr committed Sep 28, 2021
2 parents 7c8a4d6 + f9a85c7 commit 4c72ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jnpr/junos/dcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _rpc_reply(self, rpc_cmd_e, *args, **kwargs):
if isinstance(rpc_cmd_e, etree._Element)
else rpc_cmd_e
)
di = self._grpc_types_pb2.DeviceInfo(UUID=self._dev_uuid)
di = self._grpc_types_pb2.DeviceInfo(UUID=self._dev_uuid, component="JUNOS")
exec = self._grpc_dcs_pb2.GetRequest(command=[rpc_cmd], device_info=di)
res = self._grpc_conn_stub.Get(request=exec, metadata=self._grpc_meta_data)
if res.error_code != self._grpc_types_pb2.NoError:
Expand Down

0 comments on commit 4c72ab7

Please sign in to comment.