You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,4 +58,5 @@ lint:
58
58
@(echo "Running golangci-lint...")
59
59
golangci-lint run
60
60
@(echo "Running gofmt...")
61
-
@(echo "gofmt -l"; FMTFILES="$$(gofmt -l .)";iftest -n "$${FMTFILES}";thenecho"Go files that need to be reformatted (use 'go fmt'):\n$${FMTFILES}";exit 1; fi)
61
+
@(echo "gofmt -l"; FMTFILES="$$(gofmt -l .)";iftest -n "$${FMTFILES}";thenecho"Go files that need to be reformatted (use 'go fmt'):\n$${FMTFILES}";exit 1; fi)
Replace k8s-apiserver with the host name of your Kubernetes development clusters's API server.
158
158
159
159
If you don't have a 'real' CloudStack installation, you can also launch a local [simulator instance](https://hub.docker.com/r/cloudstack/simulator) instead. This is very useful for dry-run testing.
160
160
161
+
### Debugging
162
+
163
+
You can use the VSCode extension [Go](https://marketplace.visualstudio.com/items?itemName=golang.go) to debug the CCM.
164
+
Add the following configuration to the `.vscode/launch.json` file use it to launch the CCM.
0 commit comments