@@ -78,7 +78,7 @@ func TestReconcile_badConfigmapReference(t *testing.T) {
7878 Host : lunarwayv1alpha1.ResourceVar {
7979 Value : host ,
8080 },
81- Password : lunarwayv1alpha1.ResourceVar {
81+ Password : & lunarwayv1alpha1.ResourceVar {
8282 Value : "user_password" ,
8383 },
8484 User : lunarwayv1alpha1.ResourceVar {
@@ -102,7 +102,7 @@ func TestReconcile_badConfigmapReference(t *testing.T) {
102102 },
103103 },
104104 },
105- Password : lunarwayv1alpha1.ResourceVar {
105+ Password : & lunarwayv1alpha1.ResourceVar {
106106 Value : "12346" ,
107107 },
108108 User : lunarwayv1alpha1.ResourceVar {
@@ -216,7 +216,7 @@ func TestReconcile_rolePrefix(t *testing.T) {
216216 Host : lunarwayv1alpha1.ResourceVar {
217217 Value : host ,
218218 },
219- Password : lunarwayv1alpha1.ResourceVar {
219+ Password : & lunarwayv1alpha1.ResourceVar {
220220 Value : database1Name ,
221221 },
222222 User : lunarwayv1alpha1.ResourceVar {
@@ -335,7 +335,7 @@ func TestReconcile_dotInName(t *testing.T) {
335335 Host : lunarwayv1alpha1.ResourceVar {
336336 Value : host ,
337337 },
338- Password : lunarwayv1alpha1.ResourceVar {
338+ Password : & lunarwayv1alpha1.ResourceVar {
339339 Value : "user_password" ,
340340 },
341341 User : lunarwayv1alpha1.ResourceVar {
@@ -462,7 +462,7 @@ func TestReconcile_multipleDatabaseResources(t *testing.T) {
462462 Host : lunarwayv1alpha1.ResourceVar {
463463 Value : host ,
464464 },
465- Password : lunarwayv1alpha1.ResourceVar {
465+ Password : & lunarwayv1alpha1.ResourceVar {
466466 Value : "user_password" ,
467467 },
468468 User : lunarwayv1alpha1.ResourceVar {
@@ -483,7 +483,7 @@ func TestReconcile_multipleDatabaseResources(t *testing.T) {
483483 Host : lunarwayv1alpha1.ResourceVar {
484484 Value : host ,
485485 },
486- Password : lunarwayv1alpha1.ResourceVar {
486+ Password : & lunarwayv1alpha1.ResourceVar {
487487 Value : "user_password" ,
488488 },
489489 User : lunarwayv1alpha1.ResourceVar {
0 commit comments