Skip to content

Commit

Permalink
go formt
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Dec 4, 2019
1 parent 6829bdd commit b79ebdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/scheduler/plugins/nodeorder/nodeorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (c *cachedNodeInfo) GetNodeInfo(name string) (*v1.Node, error) {
}
}
}
return nil,errors.NewNotFound(v1.Resource("node"), name)
return nil, errors.NewNotFound(v1.Resource("node"), name)
}

return node.Node, nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/scheduler/plugins/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (c *CachedNodeInfo) GetNodeInfo(name string) (*v1.Node, error) {
node, found := c.Session.Nodes[name]
if !found {

return nil,errors.NewNotFound(v1.Resource("node"), name)
return nil, errors.NewNotFound(v1.Resource("node"), name)
}

return node.Node, nil
Expand Down

0 comments on commit b79ebdd

Please sign in to comment.