summaryrefslogtreecommitdiff
path: root/cloudinit/templater.py
diff options
context:
space:
mode:
authorBrett Holman <brett.holman@canonical.com>2023-03-03 14:00:16 -0700
committerGitHub <noreply@github.com>2023-03-03 15:00:16 -0600
commitb728b4e7cda8643c83d5c390411995f759cf97fa (patch)
treec8498433b5de4dbf775dd09da0a72e44f6e385c2 /cloudinit/templater.py
parent4896402b2b0acb59646fff9d49e57b084d22d1b0 (diff)
downloadcloud-init-git-b728b4e7cda8643c83d5c390411995f759cf97fa.tar.gz
Remove dead code (#2038)
Diffstat (limited to 'cloudinit/templater.py')
-rw-r--r--cloudinit/templater.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/cloudinit/templater.py b/cloudinit/templater.py
index 4d712829..8f98bb5d 100644
--- a/cloudinit/templater.py
+++ b/cloudinit/templater.py
@@ -149,12 +149,6 @@ def render_to_file(fn, outfn, params, mode=0o644):
util.write_file(outfn, contents, mode=mode)
-def render_string_to_file(content, outfn, params, mode=0o644):
- """Render string"""
- contents = render_string(content, params)
- util.write_file(outfn, contents, mode=mode)
-
-
def render_string(content, params):
"""Render string"""
if not params: