File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -659,6 +659,7 @@ class AddCharmChange(ChangeInfo):
659659 _toPy = {'charm' : 'charm' ,
660660 'series' : 'series' ,
661661 'channel' : 'channel' ,
662+ 'revision' : 'revision' ,
662663 'architecture' : 'architecture' }
663664
664665 """AddCharmChange holds a change for adding a charm to the environment.
@@ -675,6 +676,7 @@ class AddCharmChange(ChangeInfo):
675676 :series: series of the charm to be added if the charm default is
676677 not sufficient.
677678 :channel: preferred channel for obtaining the charm.
679+ :revision: specified revision of the charm to be added if specified.
678680 """
679681 @staticmethod
680682 def method ():
@@ -710,6 +712,7 @@ async def run(self, context):
710712 architecture = arch ,
711713 risk = ch .risk ,
712714 track = ch .track ,
715+ revision = self .revision ,
713716 base = base )
714717 identifier , origin = await context .model ._resolve_charm (url , origin )
715718
You can’t perform that action at this time.
0 commit comments