code: def save_load(jid, load, minions=None):
      '''
      Save the load to the specified jid
      '''
      serv = _get_serv(ret=None)
  
      # create legacy request in case an InfluxDB 0.8.x version is used
      if "influxdb08" in serv.__module__:
          req = [
              {
                  'name': 'jids',
                  'columns': ['jid', 'load'],
                  'points': [
                      [jid, salt.utils.json.dumps(load)]
                  ],
              }
          ]
      # create InfluxDB 0.9+ version request
      else:
          req = [
              {
                  'measurement': 'jids',
                  'tags': {
                      'jid': jid
                  },
                  'fields': {
                      'load': salt.utils.json.dumps(load)
                  }
              }
          ]
  
      try:
          serv.write_points(req)
      except Exception as ex:
          log.critical('Failed to store load with InfluxDB returner: %s', exf save_load(jid, load, minions=None):
      '''
      Save the load to the specified jid
      '''
      serv = _get_serv(ret=None)
  
      # create legacy request in case an InfluxDB 0.8.x version is used
      if "influxdb08" in serv.__module__:
          req = [
              {
                  'name': 'jids',
                  'columns': ['jid', 'load'],
                  'points': [
                      [jid, salt.utils.json.dumps(load)]
                  ],
              }
          ]
      # create InfluxDB 0.9+ version request
      else:
          req = [
              {
                  'measurement': 'jids',
                  'tags': {
                      'jid': jid
                  },
                  'fields': {
                      'load': salt.utils.json.dumps(load)
                  }
              }
          ]
  
      try:
          serv.write_points(req)
      except Exception as ex:
          log.critical('Failed to store load with InfluxDB returner: %s', ex)
docs: Save the load to the specified jid