From ad2b7f5240b7dbbf0f79829c1ce9930b0075516d Mon Sep 17 00:00:00 2001 From: consolethinks Date: Tue, 20 Aug 2024 12:53:26 +0200 Subject: [PATCH] fix datasetIngestor --- cmd/commands/datasetIngestor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/commands/datasetIngestor.go b/cmd/commands/datasetIngestor.go index 0118129..1278d6b 100644 --- a/cmd/commands/datasetIngestor.go +++ b/cmd/commands/datasetIngestor.go @@ -166,7 +166,7 @@ For Windows you need instead to specify -user username:password on the command l user, accessGroups := authenticate(RealAuthenticator{}, client, APIServer, userpass, token) /* TODO Add info about policy settings and that autoarchive will take place or not */ - metaDataMap, metaSourceFolder, beamlineAccount, err := datasetIngestor.CheckMetadata(client, APIServer, metadatafile, user, accessGroups) + metaDataMap, metadataSourceFolder, beamlineAccount, err := datasetIngestor.ReadAndCheckMetadata(client, APIServer, metadatafile, user, accessGroups) if err != nil { log.Fatal("Error in CheckMetadata function: ", err) }