Skip to content

Commit

Permalink
Remove unused false start on docker disk usage
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkubi committed Apr 18, 2024
1 parent cd546ba commit 62ef8f0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions environment/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,3 @@ func createDockerNetwork(ctx context.Context, cli *client.Client) error {
}
return nil
}

// Gets usage statistics for the Docker Daemon such as disk usage
func GetDockerUsage(ctx context.Context) (types.DiskUsage, error) {
cli, err := Docker()
if err != nil {
return types.DiskUsage{}, err
}
disk, err := cli.DiskUsage(ctx, types.DiskUsageOptions{})
return disk, err
}

0 comments on commit 62ef8f0

Please sign in to comment.