diff --git a/fastly/__init__.py b/fastly/__init__.py index 7161da4..44a2f34 100755 --- a/fastly/__init__.py +++ b/fastly/__init__.py @@ -899,7 +899,7 @@ def get_generated_vcl_html(self, service_id, version_number): def set_main_vcl(self, service_id, version_number, name): """Set the specified VCL as the main.""" - content = self._fetch("/service/%s/version/%d/vcl/%s/main" % (service_id, version_number, name_key), method="PUT", body=body) + content = self._fetch("/service/%s/version/%d/vcl/%s/main" % (service_id, version_number, name), method="PUT") return FastlyVCL(self, content)