Skip to content

Commit

Permalink
Merge branch 'jm/NET-4853' into jm/NET-4932
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret authored Aug 17, 2023
2 parents 982564b + 1b2319b commit b98ea30
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<span>Consul</span>
</h1>

[![Docker Pulls](https://img.shields.io/docker/pulls/hashicorp/consul.svg)](https://hub.docker.com/hashicorp/consul)
[![License: BUSL-1.1](https://img.shields.io/badge/License-BUSL--1.1-yellow.svg)](LICENSE)
[![Docker Pulls](https://img.shields.io/docker/pulls/hashicorp/consul.svg)](https://hub.docker.com/r/hashicorp/consul)
[![Go Report Card](https://goreportcard.com/badge/github.com/hashicorp/consul)](https://goreportcard.com/report/github.com/hashicorp/consul)

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
Expand Down
2 changes: 2 additions & 0 deletions agent/xds/endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"sort"
"testing"

"github.com/hashicorp/go-hclog"

envoy_core_v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
envoy_endpoint_v3 "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
"github.com/hashicorp/consul/agent/proxycfg"
Expand Down
2 changes: 1 addition & 1 deletion agent/xds/proxystateconverter/clusters.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

package proxystateconverter

Expand Down
3 changes: 1 addition & 2 deletions agent/xds/proxystateconverter/converter.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

package proxystateconverter

Expand Down Expand Up @@ -70,7 +70,6 @@ func (g *Converter) resourcesFromSnapshot(cfgSnap *proxycfg.ConfigSnapshot) erro
//if err != nil {
// return err
//}

//g.secretsFromSnapshot(cfgSnap)
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion agent/xds/proxystateconverter/endpoints.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

package proxystateconverter

Expand Down
2 changes: 1 addition & 1 deletion agent/xds/proxystateconverter/failover_policy.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

package proxystateconverter

Expand Down
2 changes: 1 addition & 1 deletion agent/xds/proxystateconverter/failover_policy_oss.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

//go:build !consulent
// +build !consulent
Expand Down
2 changes: 1 addition & 1 deletion agent/xds/proxystateconverter/listeners.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

package proxystateconverter

Expand Down
3 changes: 3 additions & 0 deletions agent/xdsv2/cluster_resources.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package xdsv2

import (
Expand Down
3 changes: 3 additions & 0 deletions agent/xdsv2/endpoint_resources.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package xdsv2

import (
Expand Down
3 changes: 3 additions & 0 deletions agent/xdsv2/listener_resources.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package xdsv2

import (
Expand Down
3 changes: 2 additions & 1 deletion agent/xdsv2/resources.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: BUSL-1.1

package xdsv2

Expand Down Expand Up @@ -56,6 +56,7 @@ func (pr *ProxyResources) generateXDSResources() error {
}
listeners = append(listeners, protoListener)
}

pr.envoyResources[xdscommon.ListenerType] = listeners

clusters, err := pr.makeXDSClusters()
Expand Down
3 changes: 3 additions & 0 deletions agent/xdsv2/route_resources.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package xdsv2

import (
Expand Down

0 comments on commit b98ea30

Please sign in to comment.