g4ze / byoc

container deployment platform
https://g4ze.github.io/byoc/
2 stars 2 forks source link

Updated a typo in the core_test.go and a suggestion. #7

Open vignesh1507 opened 1 week ago

vignesh1507 commented 1 week ago

updated a small typo in the code and a suggestion for the betterment of the code:

Sleep Usage:

The use of time.Sleep(10 * time.Second) is not the best practice for waiting for resources to be available or deleted. It’s better to implement a polling mechanism to check if the resource has been created or deleted before proceeding, as the current approach can lead to longer wait times unnecessarily.