diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-08-03 05:52:31 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-08-03 05:52:31 +0900 |
commit | 0082b4889e35883d9f0aeb07c3d6827b3f129e1b (patch) | |
tree | 6ecf9abb12783056973fead3b7362e85466ced5b /server/server_test.go | |
parent | 6f3d90f80cb40723f0f391041e88d24d1b2b0de1 (diff) |
move policyMutex to policy/
It's more logical.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/server_test.go')
-rw-r--r-- | server/server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server_test.go b/server/server_test.go index 57fcfaf1..c3553932 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -49,6 +49,6 @@ func TestModPolicyAssign(t *testing.T) { []*config.PolicyDefinition{&config.PolicyDefinition{Name: "p1"}}, false) assert.Nil(err) - ps := s.policy.GetPolicy(table.GLOBAL_RIB_NAME, table.POLICY_DIRECTION_IMPORT) + _, ps, _ := s.GetPolicyAssignment("", table.POLICY_DIRECTION_IMPORT) assert.Equal(len(ps), 2) } |