go fmt changes

This commit is contained in:
Matt Keeler 2018-06-27 09:07:22 -04:00
parent 95291ec5ed
commit dbc407cec9
3 changed files with 29 additions and 30 deletions

View File

@ -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"

View File

@ -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 {