Skip to content

Commit

Permalink
container: change kind type cluster to mysqlcluster. radondb#249
Browse files Browse the repository at this point in the history
  • Loading branch information
runkecheng committed Oct 19, 2021
1 parent d66eb3c commit 6ee2c51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysqlcluster/container/init_sidecar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 6ee2c51

Please sign in to comment.