Skip to content

Commit

Permalink
fix: fixed method naming. introduced setting of kind becuase it is mi…
Browse files Browse the repository at this point in the history
…ssing in api responses by design.
  • Loading branch information
beneiltis committed Apr 3, 2024
1 parent 10e666c commit d542759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func AllDeployments(namespaceName string, contextId *string) []v1.Deployment {

for _, deployment := range deploymentList.Items {
if !utils.Contains(utils.CONFIG.Misc.IgnoreNamespaces, deployment.ObjectMeta.Namespace) {
deployment.Kind = "Deployment"
result = append(result, deployment)
}
}
Expand Down

0 comments on commit d542759

Please sign in to comment.