@@ -182,36 +182,43 @@ func expandGitlabUsersOptions(d *schema.ResourceData) (*gitlab.ListUsersOptions,
182
182
listUsersOptions .OrderBy = & orderBy
183
183
optionsHash += orderBy
184
184
}
185
+ optionsHash += ","
185
186
if data , ok := d .GetOk ("sort" ); ok {
186
187
sort := data .(string )
187
188
listUsersOptions .Sort = & sort
188
189
optionsHash += sort
189
190
}
191
+ optionsHash += ","
190
192
if data , ok := d .GetOk ("search" ); ok {
191
193
search := data .(string )
192
194
listUsersOptions .Search = & search
193
195
optionsHash += search
194
196
}
197
+ optionsHash += ","
195
198
if data , ok := d .GetOk ("active" ); ok {
196
199
active := data .(bool )
197
200
listUsersOptions .Active = & active
198
201
optionsHash += strconv .FormatBool (active )
199
202
}
203
+ optionsHash += ","
200
204
if data , ok := d .GetOk ("blocked" ); ok {
201
205
blocked := data .(bool )
202
206
listUsersOptions .Blocked = & blocked
203
207
optionsHash += strconv .FormatBool (blocked )
204
208
}
209
+ optionsHash += ","
205
210
if data , ok := d .GetOk ("identities_extern_uid" ); ok {
206
211
externalUID := data .(string )
207
212
listUsersOptions .ExternalUID = & externalUID
208
213
optionsHash += externalUID
209
214
}
215
+ optionsHash += ","
210
216
if data , ok := d .GetOk ("identities_provider" ); ok {
211
217
provider := data .(string )
212
218
// listUsersOptions.Provider = &provider
213
219
optionsHash += provider
214
220
}
221
+ optionsHash += ","
215
222
if data , ok := d .GetOk ("created_before" ); ok {
216
223
createdBefore := data .(string )
217
224
date , err := time .Parse ("2006-01-02" , createdBefore )
@@ -221,6 +228,7 @@ func expandGitlabUsersOptions(d *schema.ResourceData) (*gitlab.ListUsersOptions,
221
228
listUsersOptions .CreatedBefore = & date
222
229
optionsHash += createdBefore
223
230
}
231
+ optionsHash += ","
224
232
if data , ok := d .GetOk ("created_after" ); ok {
225
233
createdAfter := data .(string )
226
234
// date, err := time.Parse("2006-01-02", createdAfter)
0 commit comments