mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #1073 from filbranden/vagrant_empty_array1
Fix `line 55: ldflags[*]: unbound variable`
This commit is contained in:
commit
74695d281d
@ -52,7 +52,7 @@ kube::version_ldflags() {
|
||||
fi
|
||||
|
||||
# The -ldflags parameter takes a single string, so join the output.
|
||||
echo "${ldflags[*]}"
|
||||
echo "${ldflags[*]-}"
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user