cleanup things
Signed-off-by: Frank Villaro-Dixon <frank.villarodixon@merkle.com>
This commit is contained in:
parent
f25e15411c
commit
7a8457b300
1 changed files with 0 additions and 9 deletions
|
@ -100,10 +100,6 @@ func isNodeAlive(lastLeaseTime *time.Time) bool {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func s(s string) *string {
|
|
||||||
return &s
|
|
||||||
}
|
|
||||||
|
|
||||||
func jobLabels(node *anesthesiav1alpha1.AnesthesiaNode) map[string]string {
|
func jobLabels(node *anesthesiav1alpha1.AnesthesiaNode) map[string]string {
|
||||||
return map[string]string{
|
return map[string]string{
|
||||||
"anesthesia.k3s.fr/node": node.Name,
|
"anesthesia.k3s.fr/node": node.Name,
|
||||||
|
@ -494,11 +490,6 @@ func (r *AnesthesiaNodeReconciler) Reconcile(ctx context.Context, req ctrl.Reque
|
||||||
|
|
||||||
var node anesthesiav1alpha1.AnesthesiaNode
|
var node anesthesiav1alpha1.AnesthesiaNode
|
||||||
|
|
||||||
if req.Name != "think02" {
|
|
||||||
return ctrl.Result{}, nil
|
|
||||||
}
|
|
||||||
fmt.Printf("\n\n\nHALLO, I was launched !!!\n\n")
|
|
||||||
|
|
||||||
if err := r.Get(ctx, req.NamespacedName, &node); err != nil {
|
if err := r.Get(ctx, req.NamespacedName, &node); err != nil {
|
||||||
log.Error(err, "Could not get AnesthesiaNode")
|
log.Error(err, "Could not get AnesthesiaNode")
|
||||||
return ctrl.Result{}, client.IgnoreNotFound(err)
|
return ctrl.Result{}, client.IgnoreNotFound(err)
|
||||||
|
|
Loading…
Reference in a new issue