Skip to content

Commit

Permalink
forgot to implement setNamespace
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorAlafiArmo committed Nov 22, 2021
1 parent c97d6c6 commit 718ea65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reporthandling/resourcemethods.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import (
// GetID() string // Get K8S workload ID -> <api-group>/<api-version>/<kind>/<name>
// //isK8sObject()
func (r *Resource) SetNamespace(s string) {

mw := r.middleware()
if mw != nil {
mw.SetNamespace(s)
}
}

func (r *Resource) middleware() ik8s.IMetadata {
Expand Down

0 comments on commit 718ea65

Please sign in to comment.