We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2f417e commit e07c634Copy full SHA for e07c634
netmaster/objApi/apiController.go
@@ -404,7 +404,7 @@ func (ac *APIController) PolicyDelete(policy *contivModel.Policy) error {
404
}
405
406
// Delete all associated Rules
407
- for key, _ := range policy.LinkSets.Rules {
+ for key := range policy.LinkSets.Rules {
408
// delete the rule
409
err := contivModel.DeleteRule(key)
410
if err != nil {
scripts/checks
@@ -13,8 +13,8 @@ BUILD_PKGS=$1
13
14
echo "+++ Checking Go version..."
15
ver=$(go version | awk '{print $3}')
16
-minVer="go1.4.2"
17
-maxVer="go1.4.2"
+minVer="go1.5.1"
+maxVer="go1.5.1"
18
if [[ ${ver} < ${minVer} ]]; then
19
echo "!!! Go version check failed. Expected >=${minVer} but found ${ver}"
20
exit 1
0 commit comments