Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
DanG100 committed May 9, 2024
1 parent 06d653a commit 44a06ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions topo/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ func ToResourceRequirements(kv map[string]string) corev1.ResourceRequirements {
// Create will create the node in the k8s cluster with all services and config
// maps.
func (n *Impl) Create(ctx context.Context) error {
if err := n.ValidateConstraints(); err != nil {
return fmt.Errorf("node %s failed to validate node with errors: %s", n.Name(), err)
}
if err := n.CreatePod(ctx); err != nil {
return fmt.Errorf("node %s failed to create pod %w", n.Name(), err)
}
Expand Down

0 comments on commit 44a06ef

Please sign in to comment.