Remove unecessary FindOrCreate call in Update in organizations/org_config.go

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
pull/3806/head
Alirie Gray 2018-07-10 14:39:28 -07:00
parent 3cfa11d629
commit 92029e5525
1 changed files with 0 additions and 5 deletions

View File

@ -47,10 +47,5 @@ func (s *OrganizationConfigStore) Update(ctx context.Context, oc *chronograf.Org
return err
}
_, err = s.store.FindOrCreate(ctx, oc.OrganizationID)
if err != nil {
return err
}
return s.store.Update(ctx, oc)
}