-
Notifications
You must be signed in to change notification settings - Fork 907
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #13132 Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
- Loading branch information
1 parent
de121fc
commit 891bda2
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
echo "Checking for imports that have been added to the lxd-agent..." | ||
|
||
OUT=$(go list -f '{{ join .Imports "\n" }}' ./lxd-agent | grep -F . | sort -u | diff -u test/lxd-agent-godeps.list - || true) | ||
if [ -n "${OUT}" ]; then | ||
echo "ERROR: you added a new dependency to the lxd-agent; please make sure this is what you want" | ||
echo "${OUT}" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
github.com/canonical/lxd/client | ||
github.com/canonical/lxd/lxd-agent/api | ||
github.com/canonical/lxd/lxd/daemon | ||
github.com/canonical/lxd/lxd/db/operationtype | ||
github.com/canonical/lxd/lxd/device/config | ||
github.com/canonical/lxd/lxd/events | ||
github.com/canonical/lxd/lxd/instance/instancetype | ||
github.com/canonical/lxd/lxd/ip | ||
github.com/canonical/lxd/lxd/metrics | ||
github.com/canonical/lxd/lxd/operations | ||
github.com/canonical/lxd/lxd/response | ||
github.com/canonical/lxd/lxd/storage/filesystem | ||
github.com/canonical/lxd/lxd/util | ||
github.com/canonical/lxd/lxd/vsock | ||
github.com/canonical/lxd/shared | ||
github.com/canonical/lxd/shared/api | ||
github.com/canonical/lxd/shared/logger | ||
github.com/canonical/lxd/shared/revert | ||
github.com/canonical/lxd/shared/version | ||
github.com/canonical/lxd/shared/ws | ||
github.com/gorilla/mux | ||
github.com/gorilla/websocket | ||
github.com/mdlayher/vsock | ||
github.com/pkg/sftp | ||
github.com/spf13/cobra | ||
golang.org/x/sys/unix | ||
gopkg.in/yaml.v2 |