Skip to content

Conversation

@popstk
Copy link
Contributor

@popstk popstk commented Feb 1, 2023

        diskFile, err := os.OpenFile(diskFilePath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0o444)
	if !errors.Is(err, os.ErrExist) {
		return nil, xerr.WithStatus(err, xerr.StatusInternalServerError).WithMsg("create file error")
	}

if err == nil

@1379 1379 merged commit 5f49dd5 into go-sonic:master Feb 1, 2023
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.

2 participants