From 07522cd0e282f1a1b792a31515ef71eb078bb40f Mon Sep 17 00:00:00 2001 From: ale8k Date: Wed, 11 Dec 2024 11:54:54 +0000 Subject: [PATCH 1/3] fix(settingsjson): run clilint on package --- .vscode/settings.json | 2 +- local/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 812965349..8043148f0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,7 @@ "go.lintFlags": [ "--fast" ], - "go.lintOnSave": "workspace", + "go.lintOnSave": "package", "go.testEnvVars": { "JIMM_TEST_LOG_SQL": "false", "TEST_LOGGING_CONFIG": "ERROR" // this is the logging level for juju connsuite logs diff --git a/local/Dockerfile b/local/Dockerfile index 354e9aec5..cfa49b38b 100644 --- a/local/Dockerfile +++ b/local/Dockerfile @@ -1,5 +1,5 @@ # Installing delve in the image to avoid running go install in running containers -FROM cosmtrek/air:latest +FROM cosmtrek/air:v1.61.1 RUN go install github.com/go-delve/delve/cmd/dlv@latest From 5e0869db803c064f22d34b747cde4b9a43db7263 Mon Sep 17 00:00:00 2001 From: ale8k Date: Wed, 11 Dec 2024 11:59:48 +0000 Subject: [PATCH 2/3] . --- local/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/Dockerfile b/local/Dockerfile index cfa49b38b..354e9aec5 100644 --- a/local/Dockerfile +++ b/local/Dockerfile @@ -1,5 +1,5 @@ # Installing delve in the image to avoid running go install in running containers -FROM cosmtrek/air:v1.61.1 +FROM cosmtrek/air:latest RUN go install github.com/go-delve/delve/cmd/dlv@latest From 688fa1a5ef5dc3b1faa2b557769a05f80e46b32d Mon Sep 17 00:00:00 2001 From: ale8k Date: Thu, 12 Dec 2024 14:46:22 +0000 Subject: [PATCH 3/3] . --- .vscode/settings.json | 1 - 1 file changed, 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8043148f0..c93731c95 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,6 @@ "go.lintFlags": [ "--fast" ], - "go.lintOnSave": "package", "go.testEnvVars": { "JIMM_TEST_LOG_SQL": "false", "TEST_LOGGING_CONFIG": "ERROR" // this is the logging level for juju connsuite logs