Skip to content

Commit

Permalink
🧹 remove technology url from platform templates
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed Apr 9, 2024
1 parent f7aa626 commit 5a8aed2
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions providers/github/connection/platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,25 @@ const (

var (
GithubRepoPlatform = inventory.Platform{
Name: "github-repo",
Title: "GitHub Repository",
Family: []string{"github"},
Kind: "api",
Runtime: "github",
TechnologyUrlSegments: []string{"github", "repo"},
Name: "github-repo",
Title: "GitHub Repository",
Family: []string{"github"},
Kind: "api",
Runtime: "github",
}
GithubUserPlatform = inventory.Platform{
Name: "github-user",
Title: "GitHub User",
Family: []string{"github"},
Kind: "api",
Runtime: "github",
TechnologyUrlSegments: []string{"github", "user"},
Name: "github-user",
Title: "GitHub User",
Family: []string{"github"},
Kind: "api",
Runtime: "github",
}
GithubOrgPlatform = inventory.Platform{
Name: "github-org",
Title: "GitHub Organization",
Family: []string{"github"},
Kind: "api",
Runtime: "github",
TechnologyUrlSegments: []string{"github", "org"},
Name: "github-org",
Title: "GitHub Organization",
Family: []string{"github"},
Kind: "api",
Runtime: "github",
}
)

Expand Down

0 comments on commit 5a8aed2

Please sign in to comment.