Skip to content

Commit

Permalink
removed duplicate runbook title and path at provider level
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubashirshariq committed Oct 20, 2024
1 parent a7dceb9 commit 76ebde0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
15 changes: 0 additions & 15 deletions keep/providers/github_provider/github_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ class GithubProviderAuthConfig:
}
)

repository: str = dataclasses.field(
metadata={
"description": "GitHub Repository Name",
"sensitive": False,
},
default=None,
)
md_path: str = dataclasses.field(
metadata={
"description": "Path to .md files in the repository",
"sensitive": False,
},
default=None,
)

class GithubProvider(BaseRunBookProvider):
"""
Enrich alerts with data from GitHub.
Expand Down
14 changes: 0 additions & 14 deletions keep/providers/gitlab_provider/gitlab_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,6 @@ class GitlabProviderAuthConfig:
"documentation_url": "https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html",
}
)
repository: str = dataclasses.field(
metadata={
"description": "GitHub Repository Id",
"sensitive": False,
},
default=None,
)
md_path: str = dataclasses.field(
metadata={
"description": "Path to .md files in the repository",
"sensitive": False,
},
default=None,
)


class GitlabProvider(BaseRunBookProvider):
Expand Down

0 comments on commit 76ebde0

Please sign in to comment.