Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic committed Jan 23, 2025
1 parent 766b5da commit fa8b531
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const UBITaskImageIntelCpu = "filswan/ubi-worker-cpu-intel:latest"
const UBITaskImageIntelGpu = "filswan/ubi-worker-gpu-intel:latest"
const UBITaskImageAmdCpu = "filswan/ubi-worker-cpu-amd:latest"
const UBITaskImageAmdGpu = "filswan/ubi-worker-gpu-amd:latest"
const UBIResourceExporterDockerImage = "filswan/resource-exporter:v11.3.2"
const UBIResourceExporterDockerImage = "filswan/resource-exporter:v12.0.0-beta"
const TraefikServerDockerImage = "traefik:v2.10"

func UserVersion() string {
Expand Down
1 change: 1 addition & 0 deletions internal/computing/ubi_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,7 @@ func RestartResourceExporter() error {
AttachStderr: true,
Tty: true,
}, &container.HostConfig{
Binds: []string{"/etc/machine-id:/etc/machine-id"},
RestartPolicy: container.RestartPolicy{
Name: container.RestartPolicyOnFailure,
MaximumRetryCount: 3,
Expand Down

0 comments on commit fa8b531

Please sign in to comment.