Last active
September 30, 2019 14:00
-
-
Save akash-gautam/34f3f548635478e9d92421664be8837c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (r *ReconcileBookStore) Reconcile(request reconcile.Request) (reconcile.Result, error) { | |
reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Request.Name", request.Name) | |
reqLogger.Info("Reconciling BookStore") | |
// Fetch the BookStore instance | |
bookstore := &blogv1alpha1.BookStore{} | |
err := r.client.Get(context.TODO(), request.NamespacedName, bookstore) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment