Skip to content

Commit

Permalink
* [apiclient] fix typo in addon model
Browse files Browse the repository at this point in the history
  • Loading branch information
lanfon72 authored and khushboo-rancher committed Jul 9, 2024
1 parent 416701b commit e48a198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apiclient/harvester_api/models/addons.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def enable(self, val):
self._enable = val

def to_dict(self, data):
return dict(spec=dict(enabled=self.enable, valuesConetne=safe_dump(self.value)))
return dict(spec=dict(enabled=self.enable, valuesContent=safe_dump(self.value)))

@classmethod
def from_dict(cls, data):
Expand Down Expand Up @@ -123,7 +123,7 @@ def __init__(self, value=None, enabled=False):
self.requests = value.get('resources', {}).get('requests', {})

def to_dict(self, data):
return dict(spec=dict(enabled=self.enable, valuesConetne=dumps(self.value)))
return dict(spec=dict(enabled=self.enable, valuesContent=dumps(self.value)))

@classmethod
def from_dict(cls, data):
Expand Down

0 comments on commit e48a198

Please sign in to comment.