Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove debug code
  • Loading branch information
xqi-splunk committed Oct 23, 2025
commit 2aaf96d800ffe3acf695d0f623346468dbc900e8
13 changes: 0 additions & 13 deletions contentctl/objects/content_versioning_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,19 +421,6 @@ def _query_cms_main(self, use_cache: bool = False) -> splunklib.Job:

# Get the job as a blocking operation, set the cache, and return
self._cms_main_job = self.service.search(query, exec_mode="blocking") # type: ignore
result_count = int(self._cms_main_job["resultCount"])

# Log a sample of the actual results (first 3)
if result_count > 0:
sample_results = []
iterator = ResultIterator(
response_reader=self._cms_main_job.results(
output_mode="json", count=3, offset=0
), # type: ignore
error_filters=[],
)
for result in iterator:
sample_results.append(result)

return self._cms_main_job

Expand Down
Loading