docs: fixed typo in functiion comment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e2f4ed11ec
commit
ca4001a805
@ -24,7 +24,7 @@ func RemoveSha(str string) string {
|
|||||||
return strings.Split(str, "@")[0]
|
return strings.Split(str, "@")[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
// HumanDuration from docker/cli RunningFor() to be accessable outside of the class
|
// HumanDuration from docker/cli RunningFor() to be accessible outside of the class
|
||||||
func HumanDuration(timestamp int64) string {
|
func HumanDuration(timestamp int64) string {
|
||||||
date := time.Unix(timestamp, 0)
|
date := time.Unix(timestamp, 0)
|
||||||
now := time.Now().UTC()
|
now := time.Now().UTC()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user