mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 18:07:17 +02:00
ci: use revive instead of golint (#2370)
This commit is contained in:
parent
d45a7e9996
commit
2a5dcc2848
2 changed files with 4 additions and 11 deletions
|
@ -58,15 +58,12 @@ func newDeltaCollection(p *Provider) *deltaCollection {
|
|||
//
|
||||
// Only the changed groups/members are returned. Removed groups/members have an @removed property.
|
||||
func (dc *deltaCollection) Sync(ctx context.Context) error {
|
||||
if err := dc.syncGroups(ctx); err != nil {
|
||||
err := dc.syncGroups(ctx)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := dc.syncUsers(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return dc.syncUsers(ctx)
|
||||
}
|
||||
|
||||
func (dc *deltaCollection) syncGroups(ctx context.Context) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue