From a44b0790e89f577028ac270caf0bce2a0d5b1629 Mon Sep 17 00:00:00 2001 From: Seena Burns Date: Thu, 26 Aug 2021 14:32:25 -0700 Subject: [PATCH] Correct switch from newJsonModule to starlarkjson.Module --- skycfg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skycfg.go b/skycfg.go index 4373110..2dd522e 100644 --- a/skycfg.go +++ b/skycfg.go @@ -197,7 +197,7 @@ func UnstablePredeclaredModules(r unstableProtoRegistryV2) starlark.StringDict { return starlark.StringDict{ "fail": assertmodule.Fail, "hash": hashmodule.NewModule(), - "json": starlarkjson.Module, + "json": newJsonModule(), "proto": UnstableProtoModule(r), "struct": starlark.NewBuiltin("struct", starlarkstruct.Make), "yaml": newYamlModule(),