From 7b9e08bcfa5557cdbf541c0bf5e3d6eaf8fccb6f Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Mon, 25 Mar 2019 14:18:46 -0700 Subject: [PATCH] Fix comment. --- authority/provisioner/timeduration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authority/provisioner/timeduration.go b/authority/provisioner/timeduration.go index 8c27d463..e3152808 100644 --- a/authority/provisioner/timeduration.go +++ b/authority/provisioner/timeduration.go @@ -102,7 +102,7 @@ func (t *TimeDuration) UnmarshalJSON(data []byte) error { return errors.Errorf("failed to parse %s", data) } -// Time set once the embedded time and returns it. +// Time calculates the embedded time.Time, sets it if necessary, and returns it. func (t *TimeDuration) Time() time.Time { switch { case t == nil: