Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
4795ff34
Commit
4795ff34
authored
Dec 05, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #401 from zignig/namesys_fix
Validity time not checked properly
parents
2ec2c85c
284f4a2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
namesys/publisher.go
namesys/publisher.go
+1
-1
No files found.
namesys/publisher.go
View file @
4795ff34
...
...
@@ -119,7 +119,7 @@ func ValidateIpnsRecord(k u.Key, val []byte) error {
}
switch
entry
.
GetValidityType
()
{
case
pb
.
IpnsEntry_EOL
:
t
,
err
:=
u
.
ParseRFC3339
(
string
(
entry
.
GetVal
ue
()))
t
,
err
:=
u
.
ParseRFC3339
(
string
(
entry
.
GetVal
idity
()))
if
err
!=
nil
{
log
.
Error
(
"Failed parsing time for ipns record EOL"
)
return
err
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment