Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/functions/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ type Instance struct {
Image string `json:"image" yaml:"image"`
Namespace string `json:"namespace" yaml:"namespace"`
Subscriptions []Subscription `json:"subscriptions" yaml:"subscriptions"`
Labels map[string]string `json:"labels" yaml:"labels"`
Labels map[string]string `json:"labels" yaml:"labels" xml:"-"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only Labels require this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trying to marshal unsupported type map[string]string, via x.Labels (staticcheck)

because of the map type, im assuming by the linter message

}

// Subscriptions currently active to event sources
Expand Down
Loading