Skip to content

Commit 85a3d03

Browse files
committed
refactor: use octal notation
1 parent b3626d8 commit 85a3d03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/certificatetransparency/logmetrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func (m *LogMetrics) SaveCertIndexes(ctIndexFilePath string) {
247247
}
248248

249249
// Save data to a temporary file first
250-
file, openErr := os.OpenFile(tempFilePath, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644)
250+
file, openErr := os.OpenFile(tempFilePath, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0o644)
251251
if openErr != nil {
252252
log.Println("Could not save CT index to temporary file: ", openErr)
253253
return

0 commit comments

Comments
 (0)