Skip to content

Commit 7f96863

Browse files
authored
Merge pull request #478 from SimonRichardson/scale-typo
#478 The name of the param is ScaleApplicationParams not ScaleApplicationParam. This should have really be caught in a test, but for now, fix this so we can get a release out. Fixes: #477
2 parents fd1438c + dc80236 commit 7f96863

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

juju/application.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ async def scale(self, scale=None, scale_change=None):
162162
self.name, 'to' if scale else 'by', scale or scale_change)
163163

164164
await app_facade.ScaleApplications(applications=[
165-
client.ScaleApplicationParam(application_tag=self.tag,
166-
scale=scale,
167-
scale_change=scale_change)
165+
client.ScaleApplicationParams(application_tag=self.tag,
166+
scale=scale,
167+
scale_change=scale_change)
168168
])
169169

170170
def allocate(self, budget, value):

0 commit comments

Comments
 (0)