code review

This commit is contained in:
Alex Dadgar
2018-02-27 14:46:40 -08:00
committed by Michael Schurter
parent d65ae92dfa
commit 7d58209927
2 changed files with 2 additions and 2 deletions

View File

@@ -302,7 +302,7 @@ func TestHTTP_NodeDrain(t *testing.T) {
})
}
func TestHTTP_NodeEligble(t *testing.T) {
func TestHTTP_NodeEligible(t *testing.T) {
t.Parallel()
require := require.New(t)
httpTest(t, nil, func(s *TestAgent) {

View File

@@ -120,7 +120,7 @@ func (c *NodeEligibilityCommand) Run(args []string) int {
return 1
}
nodeID = sanatizeUUIDPrefix(nodeID)
nodeID = sanitizeUUIDPrefix(nodeID)
nodes, _, err := client.Nodes().PrefixList(nodeID)
if err != nil {
c.Ui.Error(fmt.Sprintf("Error updating scheduling eligibility: %s", err))