Skip to content

Commit 9946a45

Browse files
author
Mathieu Grzybek
committed
[pre-commit] add new line at the end of the files
1 parent a45a846 commit 9946a45

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/onboard.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var onboardCmd = &cobra.Command{
3636
id := utils.GetID(token)
3737

3838
request := &OnboardingRequest{
39-
39+
4040
}
4141

4242
if (group != "") {
@@ -46,7 +46,7 @@ var onboardCmd = &cobra.Command{
4646
println("Onboarding group ",group)
4747
request.Group = group
4848
}
49-
49+
5050
buf := new(bytes.Buffer)
5151
json.NewEncoder(buf).Encode(request)
5252
req, _ := http.NewRequest("POST", onyxiaURL+"/onboarding", buf)
@@ -78,4 +78,4 @@ func contains(s []string, e string) bool {
7878
}
7979
}
8080
return false
81-
}
81+
}

utils/oidc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ func GetID(tokenString string) ID {
5858
panic(err)
5959
}
6060
return id
61-
}
61+
}

0 commit comments

Comments
 (0)