mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Run gofmt
This commit is contained in:
parent
0d907e015b
commit
db8e47a965
@ -20,8 +20,8 @@ package dockershim
|
||||
|
||||
import (
|
||||
"context"
|
||||
"path/filepath"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"k8s.io/klog"
|
||||
@ -44,7 +44,7 @@ func (ds *dockerService) ImageFsInfo(_ context.Context, r *runtimeapi.ImageFsInf
|
||||
|
||||
return &runtimeapi.ImageFsInfoResponse{
|
||||
ImageFilesystems: []*runtimeapi.FilesystemUsage{
|
||||
&runtimeapi.FilesystemUsage{
|
||||
{
|
||||
Timestamp: time.Now().Unix(),
|
||||
FsId: &runtimeapi.FilesystemIdentifier{
|
||||
Mountpoint: info.DockerRootDir,
|
||||
|
@ -95,7 +95,7 @@ func (ds *dockerService) getContainerStats(containerID string) (*runtimeapi.Cont
|
||||
Annotations: status.Annotations,
|
||||
},
|
||||
Cpu: &runtimeapi.CpuUsage{
|
||||
Timestamp: timestamp,
|
||||
Timestamp: timestamp,
|
||||
UsageCoreNanoSeconds: &runtimeapi.UInt64Value{Value: dockerStats.CPUStats.CPUUsage.TotalUsage},
|
||||
},
|
||||
Memory: &runtimeapi.MemoryUsage{
|
||||
|
Loading…
Reference in New Issue
Block a user