Mariano Cano 7 年 前
親
コミット
7b9e08bcfa
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      authority/provisioner/timeduration.go

+ 1 - 1
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: