Will Berkeley rescind my admission?

so I’m truly happy that I got into Cal, but I’m super worried at the same time at the thought of my admission being jeopardized.
Last semester I took online health but got an F on it cause I did not take it seriously. (it is not even an A-G course)
Although I’m retaking it this semester and am sure I will get a good grade this time, I got really scared when I realized it might be a possibility that Cal will revoke my admission based on that. i heard that UC especially Berkeley doesn’t want D or Fs at all on my senior transcript, but im wondering is it still gonna matter if the course i failed is not an A-G couse and the fact that i can still graduate because I retake it and made good grades?

Contact UCB admissions. You are required as an provisional admit to notify them if you receive a D or F. They can tell you what you need to do to keep your acceptance.