Skip to content

Commit

Permalink
[Cleanup] Remove unused variable
Browse files Browse the repository at this point in the history
Summary: Simple fix. Something I spotted while documenting the data pipelines.

Test Plan: Unit tests pass

Reviewers: michelle, nserrino

Reviewed By: michelle

Signed-off-by: Phillip Kuznetsov <pkuznetsov@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D10814

GitOrigin-RevId: b33a01c
  • Loading branch information
Phillip Kuznetsov authored and copybaranaut committed Feb 17, 2022
1 parent 6339490 commit bea3b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type watcher interface {
}

// NewController creates a new Controller.
func NewController(mds Store, updateCh chan *K8sResourceMessage) (*Controller, error) {
func NewController(updateCh chan *K8sResourceMessage) (*Controller, error) {
// There is a specific config for services running in the cluster.
kubeConfig, err := rest.InClusterConfig()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion src/vizier/services/metadata/metadata_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func main() {
updateCh := make(chan *k8smeta.K8sResourceMessage)
mdh := k8smeta.NewHandler(updateCh, k8sMds, nc)

k8sMc, err := k8smeta.NewController(k8sMds, updateCh)
k8sMc, err := k8smeta.NewController(updateCh)
defer k8sMc.Stop()

ads := agent.NewDatastore(dataStore, 24*time.Hour)
Expand Down

0 comments on commit bea3b23

Please sign in to comment.