Skip to content

Commit 057acc2

Browse files
committed
add shellspec guard
1 parent cc49f41 commit 057acc2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parts/linux/cloud-init/artifacts/aks-node-controller-wrapper.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ createGuestAgentEvent() {
3535
echo ${json_string} > "${EVENTS_LOGGING_DIR}${events_file_name}.json"
3636
}
3737

38+
# this is to ensure that shellspec won't interpret any further lines below
39+
${__SOURCED__:+return}
40+
3841
start_time=$(date +"%F %T.%3N")
3942
log "Launching aks-node-controller with config ${CONFIG_PATH}"
4043
"$BIN_PATH" provision --provision-config="$CONFIG_PATH" &

0 commit comments

Comments
 (0)