Skip to content

Commit

Permalink
Fix two bugs that prevented tests from passing
Browse files Browse the repository at this point in the history
  • Loading branch information
kavir1698 committed Feb 26, 2024
1 parent 99d5ed6 commit 4260976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/datasetRetriever/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func main() {

if len(datasetList) == 0 {
fmt.Printf("\n\nNo datasets found on intermediate cache server.\n")
fmt.Println("Did you submit a retrieve job from the data catalog first ?\n")
fmt.Println("Did you submit a retrieve job from the data catalog first ?")
} else {
// get sourceFolder and other dataset related info for all Datasets
datasetDetails := datasetUtils.GetDatasetDetails(client, APIServer, user["accessToken"], datasetList, *ownerGroup)
Expand Down
2 changes: 1 addition & 1 deletion datasetUtils/getUserInfoFromToken.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func GetUserInfoFromToken(client *http.Client, APIServer string, token string) (
accessGroups = respObj.CurrentGroups
log.Printf("User is member in following groups: %v\n", accessGroups)
} else {
log.Fatalln("Could not map a user to the token %v", token)
log.Fatalf("Could not map a user to the token %v", token)
}
return u, accessGroups

Expand Down

0 comments on commit 4260976

Please sign in to comment.