зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1437710: fix spelling of zstd; r=gps
MozReview-Commit-ID: 8bSU61Lvh0T --HG-- extra : rebase_source : 4fabfadcde7c51f483c6612e2b3a4c0d2c2efd92
This commit is contained in:
Родитель
e71a2dc0f2
Коммит
23bfb18da8
|
@ -376,7 +376,7 @@ class MachCommands(MachCommandBase):
|
|||
|
||||
@CommandProvider
|
||||
class TaskClusterImagesProvider(MachCommandBase):
|
||||
def _ensure_sztd(self):
|
||||
def _ensure_zstd(self):
|
||||
try:
|
||||
import zstd
|
||||
# There are two zstd libraries that exist in the wild, ensure we
|
||||
|
@ -401,7 +401,7 @@ class TaskClusterImagesProvider(MachCommandBase):
|
|||
"contents of the tree (as built for mozilla-central"
|
||||
"or mozilla-inbound)")
|
||||
def load_image(self, image_name, task_id, tag):
|
||||
self._ensure_sztd()
|
||||
self._ensure_zstd()
|
||||
from taskgraph.docker import load_image_by_name, load_image_by_task_id
|
||||
if not image_name and not task_id:
|
||||
print("Specify either IMAGE-NAME or TASK-ID")
|
||||
|
|
Загрузка…
Ссылка в новой задаче