code: def diff(name, **kwargs):
      '''
      Gets the difference between the candidate and the current configuration.
  
      .. code-block:: yaml
  
              get the diff:
                junos:
                  - diff
                  - id: 10
  
      Parameters:
        Optional
          * id:
            The rollback id value [0-49]. (default = 0)
      '''
      ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
      ret['changes'] = __salt__['junos.diff'](**kwargs)
      return ref diff(name, **kwargs):
      '''
      Gets the difference between the candidate and the current configuration.
  
      .. code-block:: yaml
  
              get the diff:
                junos:
                  - diff
                  - id: 10
  
      Parameters:
        Optional
          * id:
            The rollback id value [0-49]. (default = 0)
      '''
      ret = {'name': name, 'changes': {}, 'result': True, 'comment': ''}
      ret['changes'] = __salt__['junos.diff'](**kwargs)
      return ret
docs: Gets the difference between the candidate and the current configuration.
  
      .. code-block:: yaml
  
              get the diff:
                junos:
                  - diff
                  - id: 10
  
      Parameters:
        Optional
          * id:
            The rollback id value [0-49]. (default = 0)