update StatusDetails to handle Groups
This commit is contained in:
@@ -95,7 +95,7 @@ func (r *NodeRegistry) GetNode(ctx api.Context, nodeID string) (*api.Node, error
|
||||
return &node, nil
|
||||
}
|
||||
}
|
||||
return nil, errors.NewNotFound("node", nodeID)
|
||||
return nil, errors.NewNotFound(api.Resource("nodes"), nodeID)
|
||||
}
|
||||
|
||||
func (r *NodeRegistry) DeleteNode(ctx api.Context, nodeID string) error {
|
||||
|
Reference in New Issue
Block a user