mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
fix readonly masks return value in test.sh
This commit is contained in:
parent
ccb6275142
commit
8f6c631772
@ -18,11 +18,12 @@
|
|||||||
|
|
||||||
# A set of helpers for tests
|
# A set of helpers for tests
|
||||||
|
|
||||||
readonly reset=$(tput sgr0)
|
reset=$(tput sgr0)
|
||||||
readonly bold=$(tput bold)
|
bold=$(tput bold)
|
||||||
readonly black=$(tput setaf 0)
|
black=$(tput setaf 0)
|
||||||
readonly red=$(tput setaf 1)
|
red=$(tput setaf 1)
|
||||||
readonly green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
|
readonly reset bold black red green
|
||||||
|
|
||||||
kube::test::clear_all() {
|
kube::test::clear_all() {
|
||||||
if kube::test::if_supports_resource "rc" ; then
|
if kube::test::if_supports_resource "rc" ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user