diff --git a/tests/framework/e2e/config.go b/tests/framework/e2e/config.go index acc1d82e0..646a868e9 100644 --- a/tests/framework/e2e/config.go +++ b/tests/framework/e2e/config.go @@ -23,6 +23,13 @@ const ( LastVersion ClusterVersion = "last-version" ) +func (cv ClusterVersion) String() string { + if cv == CurrentVersion { + return "current-version" + } + return string(cv) +} + type ClusterContext struct { Version ClusterVersion }