mirror of
https://github.com/containers/podman.git
synced 2025-10-18 11:42:55 +08:00
lint: fix warnings found by perfsprint
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -500,7 +500,7 @@ func executeContainerTemplate(info *containerInfo, options entities.GenerateSyst
|
||||
}
|
||||
|
||||
if info.GenerateTimestamp {
|
||||
info.TimeStamp = fmt.Sprintf("%v", time.Now().Format(time.UnixDate))
|
||||
info.TimeStamp = time.Now().Format(time.UnixDate)
|
||||
}
|
||||
// Sort the slices to assure a deterministic output.
|
||||
sort.Strings(info.BoundToServices)
|
||||
|
Reference in New Issue
Block a user