Skip to content

Commit

Permalink
fix(negative): 'CRD' object has no attribute 'cr_api'
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang authored and David Ko committed Oct 30, 2023
1 parent 2d045a0 commit 3d21dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/libs/engine/crd.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_engine(self, volume_name, node_name):
if node_name != "":
label_selector.append(f"longhornnode={node_name}")

api_response = self.cr_api.list_namespaced_custom_object(
api_response = self.obj_api.list_namespaced_custom_object(
group="longhorn.io",
version="v1beta2",
namespace="longhorn-system",
Expand Down

0 comments on commit 3d21dda

Please sign in to comment.