Skip to content

Commit 849c422

Browse files
committed
remove unused method/structu
1 parent 4b43a23 commit 849c422

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

pkg/connector/helpers.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,3 @@ func parseAccessLevelFromEntitlementID(entitlementID string) (int, error) {
3232
}
3333
return int(levelValue), nil
3434
}
35-
36-
func getNextTokenState(currentType, nextPageFromAPI, nextTypeOnFinish string) cloudListToken {
37-
if nextPageFromAPI != "" {
38-
return cloudListToken{Type: currentType, Token: nextPageFromAPI}
39-
}
40-
return cloudListToken{Type: nextTypeOnFinish, Token: ""}
41-
}

pkg/connector/users.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ const (
2121
pendingInvitationUser = "pending-invite-"
2222
)
2323

24-
type cloudListToken struct {
25-
Type string `json:"type"`
26-
Token string `json:"token"`
27-
}
28-
2924
type userBuilder struct {
3025
client *client.GitlabClient
3126
}

0 commit comments

Comments
 (0)