Skip to content

Commit

Permalink
Change name and kind to be optional, in case the investigated resourc…
Browse files Browse the repository at this point in the history
…e doesn't have it
  • Loading branch information
arikalon1 committed Jul 23, 2024
1 parent 0e13188 commit 8def381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/robusta/core/model/base_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def post_initialization(self):


class ResourceInfo(BaseModel):
name: str
name: Optional[str] = "unresolved"
namespace: Optional[str]
kind: str
kind: Optional[str]
node: Optional[str]
container: Optional[str]

Expand Down

0 comments on commit 8def381

Please sign in to comment.