Bug 1437710: fix spelling of zstd; r=gps

MozReview-Commit-ID: 8bSU61Lvh0T

--HG--
extra : rebase_source : 4fabfadcde7c51f483c6612e2b3a4c0d2c2efd92
This commit is contained in:
Dustin J. Mitchell 2018-02-12 23:32:11 +00:00
Родитель e71a2dc0f2
Коммит 23bfb18da8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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")