Skip to content

Commit

Permalink
virtctl.sh: add deprecation warning
Browse files Browse the repository at this point in the history
We want to remove virtctl.sh in the long run [1], for now we are issuing
a deprecation warning.

[1]: kubevirt#1277

Signed-off-by: Daniel Hiller <[email protected]>
  • Loading branch information
dhiller committed Sep 20, 2024
1 parent 79bfd07 commit a9ecdd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster-up/virtctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

set -e

>&2 echo "WARNING: usage of '${BASH_SOURCE[0]}' is deprecated!"
>&2 echo " see: https://github.com/kubevirt/kubevirtci/issues/1277"

if [ -z "$KUBEVIRTCI_PATH" ]; then
KUBEVIRTCI_PATH="$(
cd "$(dirname "$BASH_SOURCE[0]")/"
Expand Down

0 comments on commit a9ecdd6

Please sign in to comment.