Skip to content

Commit

Permalink
Merge pull request radondb#269 from runkecheng/change_cluster_name
Browse files Browse the repository at this point in the history
container: change kind type cluster to mysqlcluster. radondb#249
  • Loading branch information
andyli029 authored Oct 19, 2021
2 parents 68d361e + c319aac commit 6b1fcc8
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 6b1fcc8

Please sign in to comment.