updateCappedPlan(serviceName, service) {
    return this.LogsLexiService.update({ serviceName },
      {
        displayName: service.displayName,
        isCapped: service.isCapped,
      })
      .$promise.then((operation) => {
        this.resetAllCache();
        return this.LogsHelperService.handleOperation(serviceName, operation.data || operation, 'logs_home_capped_update_success', { });
      })
      .catch(err => this.LogsHelperService.handleError('logs_home_capped_update_error', err, { }));
  }
/**
   * Updates the current capped plan settings
   *
   * @param {any} serviceName
   * @param {service} service
   * @returns promise which will resolve or reject once the operation is complete
   * @memberof LogsHomeService
   */
Updates the current capped plan settings
@param {any} serviceName
@param {service} service
@returns promise which will resolve or reject once the operation is complete
@memberof LogsHomeService
Updates the current capped plan settings @param { any } serviceName @param { service } service @returns promise which will resolve or reject once the operation is complete @memberof LogsHomeService
updateCappedPlan(serviceName, service) {
    return this.LogsLexiService.update({ serviceName },
      {
        displayName: service.displayName,
        isCapped: service.isCapped,
      })
      .$promise.then((operation) => {
        this.resetAllCache();
        return this.LogsHelperService.handleOperation(serviceName, operation.data || operation, 'logs_home_capped_update_success', { });
      })
      .catch(err => this.LogsHelperService.handleError('logs_home_capped_update_error', err, { }));
  }
updateCappedPlan ( serviceName , service ) { return this . LogsLexiService . update ( { serviceName } , { displayName : service . displayName , isCapped : service . isCapped , } ) . $promise . then ( ( operation ) => { this . resetAllCache ( ) ; return this . LogsHelperService . handleOperation ( serviceName , operation . data || operation , 'logs_home_capped_update_success' , { } ) ; } ) . catch ( err => this . LogsHelperService . handleError ( 'logs_home_capped_update_error' , err , { } ) ) ; }
Updates the current capped plan settings
 @param {any} serviceName
 @param {service} service
 @returns promise which will resolve or reject once the operation is complete
 @memberof LogsHomeService
Updates the current capped plan settings @param { any } serviceName @param { service } service @returns promise which will resolve or reject once the operation is complete @memberof LogsHomeService