Skip to content

Commit 8162149

Browse files
Random-Liuestesp
authored andcommitted
Set default "" to extra runtime handler.
Signed-off-by: Lantao Liu <[email protected]>
1 parent 25b7a93 commit 8162149

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

contrib/gce/configure.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ disabled_plugins = ["restart"]
181181
EOF
182182
chmod 644 "${config_path}"
183183

184+
# CONTAINERD_EXTRA_RUNTIME_HANDLER is the extra runtime handler to install.
185+
CONTAINERD_EXTRA_RUNTIME_HANDLER=${CONTAINERD_EXTRA_RUNTIME_HANDLER:-""}
184186
if [[ -n "${CONTAINERD_EXTRA_RUNTIME_HANDLER}" ]]; then
185187
cat >> ${config_path} <<EOF
186188
[plugins.cri.containerd.runtimes.${CONTAINERD_EXTRA_RUNTIME_HANDLER}]

0 commit comments

Comments
 (0)