forked from rook/rook
when store.Status was not initialized it caused crashes when assigning store.Status.Info["endpoint"] to objContext.Endpoint. This commits makes sure store.Status is not Nil before setting objContext.Endpoint and objContext.SecureEndpoint in the ObjectStoreUser controller. Closes: https://github.com/rook/rook/issues/6916 Signed-off-by: Ali Maredia <amaredia@redhat.com>