Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the cleanup failure #7007

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Conversation

jainpulkit22
Copy link
Contributor

If all the clusters are cleaned up then .clusters.swp file is not created and it gives an error that file not present.

If all the clusters are cleaned up then .clusters.swp
file is not created and it gives an error that file
not present.

Signed-off-by: Pulkit Jain <[email protected]>
@jainpulkit22
Copy link
Contributor Author

/test-all

@luolanzone luolanzone merged commit 67be1ef into antrea-io:main Feb 20, 2025
57 of 62 checks passed
@@ -565,6 +565,7 @@ function clean_kind {
flock -x 200

current_timestamp=$(date +%s)
touch ~/.antrea/.clusters.swp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

touch is not ideal as it will not reset contents... this is why I suggested a command that would truncate the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants