remove log statements
@@ -147,12 +147,9 @@ func (r *EventhubReconciler) reapply(instance *azurev1alpha1.Eventhub) error {
result, err := r.EventHubManager.GetHub(ctx, resourcegroup, eventhubNamespace, eventhubName)
if err != nil {
- r.Log.Info("----------------- err not nilllllll -----------------")
-
return err
}
if reflect.ValueOf(result.Response).Kind() == reflect.Ptr && reflect.ValueOf(result.Response).IsNil() {
- r.Log.Info("----------------- nilllllll resulttttt -----------------")
return fmt.Errorf("Nil result from GetHub")
}
if result.Response.StatusCode == http.StatusNotFound {
