Skip to content

Commit d42ce5a

Browse files
author
deveshgoyal1000
committed
Merge branch 'podman-network-info' of https://github.com/deveshgoyal1000/checkpointctl into podman-network-info
2 parents d8db0ac + c89c0fd commit d42ce5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/container.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ func getPodmanInfo(containerConfig *lib.ContainerConfig, specDump *specs.Spec, t
5353
Engine: "Podman",
5454
}
5555

56-
// Try to get network information from network.status file
56+
// To get network information from network.status file
5757
if specDump.Annotations["io.container.manager"] == "libpod" {
58-
// Create temp dir for network status file
58+
// temp dir for network status file
5959
tmpDir, err := os.MkdirTemp("", "network-status")
6060
if err == nil {
6161
defer os.RemoveAll(tmpDir)
@@ -144,7 +144,7 @@ func ShowContainerCheckpoints(tasks []Task) error {
144144
"Created",
145145
"Engine",
146146
}
147-
// Always include network columns in header
147+
// including network columns in header
148148
header = append(header, "IP", "MAC", "CHKPT Size", "Root Fs Diff Size")
149149

150150
for _, task := range tasks {
@@ -170,7 +170,7 @@ func ShowContainerCheckpoints(tasks []Task) error {
170170
fmt.Printf("\nDisplaying container checkpoint data from %s\n\n", task.CheckpointFilePath)
171171
}
172172

173-
// Always include network and size information
173+
// including network and size information
174174
row = append(row, info.containerInfo.IP)
175175
row = append(row, info.containerInfo.MAC)
176176
row = append(row, lib.ByteToString(info.archiveSizes.checkpointSize))

0 commit comments

Comments
 (0)