runwhen-contrib / rw-public-codecollection

RunWhen Public Codecollection Repository - Open Source troubleshooting runbook library for Kubernetes and cloud infrastructure components.
Apache License 2.0
39 stars 5 forks source link

gcp-opssuite-logquery broken due to RW.Utils.RWUtils import error #107

Closed stewartshea closed 1 year ago

stewartshea commented 1 year ago

Expected Behavior

Log query SLI should succeed.

Current Behavior

Error in file '/collection/codebundles/gcp-opssuite-logquery/sli.robot' on line 9: Importing library 'RW.Utils.RWUtils' failed: IndentationError: unindent does not match any outer indentation level (RWUtils.py, line 77)
Traceback (most recent call last):
  None
PYTHONPATH:
  /robot-runtime
  /
  /robot-runtime
  /collection
  /collection/libraries
  /usr/local/lib/python39.zip
  /usr/local/lib/python3.9
  /usr/local/lib/python3.9/lib-dynload
  /usr/local/lib/python3.9/site-packages
  /collection/codebundles/gcp-opssuite-logquery

From the task: 
No keyword with name 'RW.Utils.RWUtils.From Json' found.

Possible Solution

Steps to Reproduce

  1. Create SLI from /collection/codebundles/gcp-opssuite-logquery/sli.robot