File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ func (g *GraphQuery) validateUsers(ctx context.Context, client *msgraphsdk.Graph
501501 return nil , errors .New ("no users provided for validation" )
502502 }
503503
504- var results []interface {}
504+ results := make ( []interface {}, 0 )
505505
506506 for _ , userPrincipalName := range in .Users {
507507 if userPrincipalName == nil {
@@ -758,7 +758,7 @@ func (g *GraphQuery) getGroupObjectIDs(ctx context.Context, client *msgraphsdk.G
758758 return nil , errors .New ("no group names provided" )
759759 }
760760
761- var results []interface {}
761+ results := make ( []interface {}, 0 )
762762
763763 for _ , groupName := range in .Groups {
764764 if groupName == nil {
@@ -803,7 +803,7 @@ func (g *GraphQuery) getServicePrincipalDetails(ctx context.Context, client *msg
803803 return nil , errors .New ("no service principal names provided" )
804804 }
805805
806- var results []interface {}
806+ results := make ( []interface {}, 0 )
807807
808808 for _ , spName := range in .ServicePrincipals {
809809 if spName == nil {
You can’t perform that action at this time.
0 commit comments