diff --git a/.circleci/config.yml b/.circleci/config.yml index 754d0cf..28f2f97 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,6 @@ commands: steps: - setup_remote_docker: docker_layer_caching: true - version: 20.10.14 install_project_dependencies: steps: - checkout diff --git a/internal/status-exporter/export/fs/exporter.go b/internal/status-exporter/export/fs/exporter.go index de7f9ca..ae280de 100644 --- a/internal/status-exporter/export/fs/exporter.go +++ b/internal/status-exporter/export/fs/exporter.go @@ -54,7 +54,7 @@ func (e *FsExporter) export(nodeTopology *topology.NodeTopology) { log.Printf("Exporting pod %s gpu stats to filesystem", podUuid) path := fmt.Sprintf("/runai/proc/pod/%s/metrics/gpu/%d", podUuid, gpuIdx) - if err := os.MkdirAll(path, 0644); err != nil { + if err := os.MkdirAll(path, 0755); err != nil { log.Printf("Failed creating directory for pod %s: %s", podUuid, err.Error()) }