Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
consolethinks committed Oct 11, 2024
1 parent a5c70ba commit 5bbab98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasetIngestor/checkMetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func GatherMissingMetadata(user map[string]string, metaDataMap map[string]interf
}

// for raw data add PI if missing
if err := addPrincipalInvestigatorFromProposal(user, metaDataMap, client, APIServer, accessGroups); err != nil {
if err := addPrincipalInvestigatorFromProposal(user, metaDataMap, client, APIServer); err != nil {
return err
}

Expand All @@ -276,7 +276,7 @@ func GatherMissingMetadata(user map[string]string, metaDataMap map[string]interf
return nil
}

func addPrincipalInvestigatorFromProposal(user map[string]string, metaDataMap map[string]interface{}, client *http.Client, APIServer string, accessGroups []string) error {
func addPrincipalInvestigatorFromProposal(user map[string]string, metaDataMap map[string]interface{}, client *http.Client, APIServer string) error {
typeVal, ok := metaDataMap["type"]
if !ok {
return fmt.Errorf("type doesn't exist as an attribute")
Expand Down

0 comments on commit 5bbab98

Please sign in to comment.