Skip to content

Commit

Permalink
Increase version number, add user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
nielm committed Jun 20, 2023
1 parent f4910e9 commit 15ff912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudrun-malware-scanner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcs-malware-scanner",
"version": "2.0.0",
"version": "2.1.0",
"description": "Service to scan GCS documents for the malware and move the analyzed documents to appropriate buckets",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion cloudrun-malware-scanner/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const BUCKET_CONFIG = {
const app = express();
app.use(express.json());
const scanner = clamd.createScanner(CLAMD_HOST, CLAMD_PORT);
const storage = new Storage();
const storage = new Storage({userAgent: `${pkgJson.name}/${pkgJson.version}`});

/**
* Route that is invoked by Cloud Run when a malware scan is requested
Expand Down

0 comments on commit 15ff912

Please sign in to comment.