Skip to content

Commit 9663e35

Browse files
committed
Merge pull request #354 from helgi/build_type_arg
chore(scheduler): remove second param in get() call as it is redundant
2 parents 9640a22 + 59b50a6 commit 9663e35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/scheduler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def _create_rc(self, name, image, command, **kwargs): # noqa
606606

607607
# Check if it is a slug builder image.
608608
# Example format: golden-earrings:git-5450cbcdaaf9afe6fadd219c94ac9c449bd62413s
609-
if kwargs.get('build_type', {}) == "buildpack":
609+
if kwargs.get('build_type') == "buildpack":
610610
imgurl = 'http://{}/git/home/{}/push/slug.tgz'.format(
611611
settings.S3EP,
612612
image)

0 commit comments

Comments
 (0)