From c319aac29bad13721441a816ecf833e263d98cf1 Mon Sep 17 00:00:00 2001 From: runkecheng <1131648942@qq.com> Date: Tue, 19 Oct 2021 10:27:37 +0800 Subject: [PATCH] container: change kind type cluster to mysqlcluster. #249 --- mysqlcluster/container/init_sidecar_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqlcluster/container/init_sidecar_test.go b/mysqlcluster/container/init_sidecar_test.go index 8e172570..c2cb4344 100644 --- a/mysqlcluster/container/init_sidecar_test.go +++ b/mysqlcluster/container/init_sidecar_test.go @@ -320,8 +320,8 @@ func TestGetInitSidecarEnvVar(t *testing.T) { { testBackupMysqlCluster := initSidecarMysqlCluster testBackupMysqlCluster.Spec.BackupSecretName = "backup-secret" - testBackupMysqlClusterWraper := cluster.Cluster{ - Cluster: &testBackupMysqlCluster, + testBackupMysqlClusterWraper := mysqlcluster.MysqlCluster{ + MysqlCluster: &testBackupMysqlCluster, } BackupCase := EnsureContainer("init-sidecar", &testBackupMysqlClusterWraper) testBackupEnv := make([]corev1.EnvVar, len(defaultInitSidecarEnvs))