Browse Source

go fmt changes

pull/4294/head
Matt Keeler 7 years ago
parent
commit
d1a8f9cb3f
  1. 2
      agent/catalog_endpoint_test.go
  2. 1
      agent/consul/catalog_endpoint.go

2
agent/catalog_endpoint_test.go

@ -8,8 +8,8 @@ import (
"time"
"github.com/hashicorp/consul/agent/structs"
"github.com/hashicorp/consul/types"
"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/types"
"github.com/hashicorp/serf/coordinate"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

1
agent/consul/catalog_endpoint.go

@ -46,7 +46,6 @@ func (c *Catalog) Register(args *structs.RegisterRequest, reply *struct{}) error
args.ID = types.NodeID(id)
}
// Fetch the ACL token, if any.
rule, err := c.srv.resolveToken(args.Token)
if err != nil {

Loading…
Cancel
Save