@@ -36,9 +36,11 @@ func TestSetSecretACL(t *testing.T) {
3636 users := []string {"GG27dVwR9gBMnsOaRoJ1DFJmZfdVjIdW" }
3737 iFalse := false
3838 setOpts := acls.SetOpts {
39- Type : "read" ,
40- Users : & users ,
41- ProjectAccess : & iFalse ,
39+ acls.SetOpt {
40+ Type : "read" ,
41+ Users : & users ,
42+ ProjectAccess : & iFalse ,
43+ },
4244 }
4345
4446 actual , err := acls .SetSecretACL (client .ServiceClient (), "1b8068c4-3bb6-4be6-8f1e-da0d1ea0b67c" , setOpts ).Extract ()
@@ -54,9 +56,11 @@ func TestSetContainerACL(t *testing.T) {
5456 users := []string {"GG27dVwR9gBMnsOaRoJ1DFJmZfdVjIdW" }
5557 iFalse := false
5658 setOpts := acls.SetOpts {
57- Type : "read" ,
58- Users : & users ,
59- ProjectAccess : & iFalse ,
59+ acls.SetOpt {
60+ Type : "read" ,
61+ Users : & users ,
62+ ProjectAccess : & iFalse ,
63+ },
6064 }
6165
6266 actual , err := acls .SetContainerACL (client .ServiceClient (), "1b8068c4-3bb6-4be6-8f1e-da0d1ea0b67c" , setOpts ).Extract ()
@@ -89,8 +93,10 @@ func TestUpdateSecretACL(t *testing.T) {
8993
9094 newUsers := []string {}
9195 updateOpts := acls.SetOpts {
92- Type : "read" ,
93- Users : & newUsers ,
96+ acls.SetOpt {
97+ Type : "read" ,
98+ Users : & newUsers ,
99+ },
94100 }
95101
96102 actual , err := acls .UpdateSecretACL (client .ServiceClient (), "1b8068c4-3bb6-4be6-8f1e-da0d1ea0b67c" , updateOpts ).Extract ()
@@ -105,8 +111,10 @@ func TestUpdateContainerACL(t *testing.T) {
105111
106112 newUsers := []string {}
107113 updateOpts := acls.SetOpts {
108- Type : "read" ,
109- Users : & newUsers ,
114+ acls.SetOpt {
115+ Type : "read" ,
116+ Users : & newUsers ,
117+ },
110118 }
111119
112120 actual , err := acls .UpdateContainerACL (client .ServiceClient (), "1b8068c4-3bb6-4be6-8f1e-da0d1ea0b67c" , updateOpts ).Extract ()
0 commit comments