From 9e29408ee6072f2559899582b3300a6de54069ff Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 19 Jun 2018 19:03:25 +0200 Subject: Don't expose project names in various counters Various counters would expose either project names, or full project paths (e.g. "gitlab-org/gitlab-ce"). This commit changes various places where we use "add_event" so we no longer expose (potentially) private information. --- spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb') diff --git a/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb b/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb index 48e7eaf32fc..5b1c6b6010a 100644 --- a/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb +++ b/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb @@ -33,7 +33,6 @@ describe Gitlab::GithubImport::ImportDiffNoteWorker do expect(worker.counter) .to receive(:increment) - .with(project: 'foo/bar') .and_call_original worker.import(project, client, hash) -- cgit v1.2.3