Skip to content

Commit 8ac8ea9

Browse files
authored
Fix TimestampFromV7 error message (#127)
1 parent 22c52c2 commit 8ac8ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uuid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func TimestampFromV6(u UUID) (Timestamp, error) {
141141
// releases until the spec is final.
142142
func TimestampFromV7(u UUID) (Timestamp, error) {
143143
if u.Version() != 7 {
144-
return 0, fmt.Errorf("uuid: %s is version %d, not version 6", u, u.Version())
144+
return 0, fmt.Errorf("uuid: %s is version %d, not version 7", u, u.Version())
145145
}
146146

147147
t := 0 |

0 commit comments

Comments
 (0)