From 6938df677da4b6c5bdafa5e4ad657feb8666781f Mon Sep 17 00:00:00 2001 From: laiwei Date: Sun, 18 Jun 2017 23:30:45 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"update(hbs):hbs=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0license=E4=BF=A1=E6=81=AF"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hbs/cache/agents.go | 14 -------------- modules/hbs/cache/cache.go | 14 -------------- modules/hbs/cache/expressions.go | 14 -------------- modules/hbs/cache/groups.go | 14 -------------- modules/hbs/cache/hosts.go | 14 -------------- modules/hbs/cache/plugins.go | 14 -------------- modules/hbs/cache/strategies.go | 14 -------------- modules/hbs/cache/templates.go | 14 -------------- modules/hbs/db/agent.go | 14 -------------- modules/hbs/db/db.go | 14 -------------- modules/hbs/db/expression.go | 14 -------------- modules/hbs/db/group.go | 14 -------------- modules/hbs/db/host.go | 14 -------------- modules/hbs/db/plugin.go | 14 -------------- modules/hbs/db/strategy.go | 14 -------------- modules/hbs/db/template.go | 14 -------------- modules/hbs/g/cfg.go | 14 -------------- modules/hbs/g/g.go | 14 -------------- modules/hbs/http/common.go | 14 -------------- modules/hbs/http/http.go | 14 -------------- modules/hbs/http/proc.go | 14 -------------- modules/hbs/main.go | 14 -------------- modules/hbs/rpc/agent.go | 14 -------------- modules/hbs/rpc/hbs.go | 14 -------------- modules/hbs/rpc/rpc.go | 14 -------------- 25 files changed, 350 deletions(-) diff --git a/modules/hbs/cache/agents.go b/modules/hbs/cache/agents.go index 2c7c341f3..3b4536fda 100644 --- a/modules/hbs/cache/agents.go +++ b/modules/hbs/cache/agents.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache // 每个agent心跳上来的时候立马更新一下数据库是没必要的 diff --git a/modules/hbs/cache/cache.go b/modules/hbs/cache/cache.go index 37b76773e..b580c5d38 100644 --- a/modules/hbs/cache/cache.go +++ b/modules/hbs/cache/cache.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/cache/expressions.go b/modules/hbs/cache/expressions.go index 3e019003c..6c7a6d4b0 100644 --- a/modules/hbs/cache/expressions.go +++ b/modules/hbs/cache/expressions.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/cache/groups.go b/modules/hbs/cache/groups.go index e690634d0..d7e729eff 100644 --- a/modules/hbs/cache/groups.go +++ b/modules/hbs/cache/groups.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/cache/hosts.go b/modules/hbs/cache/hosts.go index 5509e6836..2666d1383 100644 --- a/modules/hbs/cache/hosts.go +++ b/modules/hbs/cache/hosts.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/cache/plugins.go b/modules/hbs/cache/plugins.go index 8b1e32203..26f815c8b 100644 --- a/modules/hbs/cache/plugins.go +++ b/modules/hbs/cache/plugins.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/cache/strategies.go b/modules/hbs/cache/strategies.go index 2695b8598..ae6194722 100644 --- a/modules/hbs/cache/strategies.go +++ b/modules/hbs/cache/strategies.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/cache/templates.go b/modules/hbs/cache/templates.go index fda9b8269..d745072be 100644 --- a/modules/hbs/cache/templates.go +++ b/modules/hbs/cache/templates.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package cache import ( diff --git a/modules/hbs/db/agent.go b/modules/hbs/db/agent.go index e2a1b497c..50d6cb240 100644 --- a/modules/hbs/db/agent.go +++ b/modules/hbs/db/agent.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/db.go b/modules/hbs/db/db.go index a62cd89c1..1f64d343a 100644 --- a/modules/hbs/db/db.go +++ b/modules/hbs/db/db.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/expression.go b/modules/hbs/db/expression.go index 55640b53a..a577f7366 100644 --- a/modules/hbs/db/expression.go +++ b/modules/hbs/db/expression.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/group.go b/modules/hbs/db/group.go index 2ec036406..3231b98e1 100644 --- a/modules/hbs/db/group.go +++ b/modules/hbs/db/group.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/host.go b/modules/hbs/db/host.go index 7f803c342..566c7cf8b 100644 --- a/modules/hbs/db/host.go +++ b/modules/hbs/db/host.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/plugin.go b/modules/hbs/db/plugin.go index 1417b58c1..02d1fc827 100644 --- a/modules/hbs/db/plugin.go +++ b/modules/hbs/db/plugin.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/strategy.go b/modules/hbs/db/strategy.go index 029a1551c..332683509 100644 --- a/modules/hbs/db/strategy.go +++ b/modules/hbs/db/strategy.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/db/template.go b/modules/hbs/db/template.go index 7356623d6..8e283b505 100644 --- a/modules/hbs/db/template.go +++ b/modules/hbs/db/template.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package db import ( diff --git a/modules/hbs/g/cfg.go b/modules/hbs/g/cfg.go index 36c8ecbd1..bb21b68ea 100644 --- a/modules/hbs/g/cfg.go +++ b/modules/hbs/g/cfg.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package g import ( diff --git a/modules/hbs/g/g.go b/modules/hbs/g/g.go index 09db12832..d7857468a 100644 --- a/modules/hbs/g/g.go +++ b/modules/hbs/g/g.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package g import ( diff --git a/modules/hbs/http/common.go b/modules/hbs/http/common.go index c301364b5..130a6f18a 100644 --- a/modules/hbs/http/common.go +++ b/modules/hbs/http/common.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/modules/hbs/http/http.go b/modules/hbs/http/http.go index 2fd37c7ab..c14b09fd6 100644 --- a/modules/hbs/http/http.go +++ b/modules/hbs/http/http.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/modules/hbs/http/proc.go b/modules/hbs/http/proc.go index deadf0641..f4e5d5e5e 100644 --- a/modules/hbs/http/proc.go +++ b/modules/hbs/http/proc.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package http import ( diff --git a/modules/hbs/main.go b/modules/hbs/main.go index 03f3295d9..92ff55ab1 100644 --- a/modules/hbs/main.go +++ b/modules/hbs/main.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package main import ( diff --git a/modules/hbs/rpc/agent.go b/modules/hbs/rpc/agent.go index 07846ace2..39a8f8fdc 100644 --- a/modules/hbs/rpc/agent.go +++ b/modules/hbs/rpc/agent.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package rpc import ( diff --git a/modules/hbs/rpc/hbs.go b/modules/hbs/rpc/hbs.go index fea6c246d..502bd3235 100644 --- a/modules/hbs/rpc/hbs.go +++ b/modules/hbs/rpc/hbs.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package rpc import ( diff --git a/modules/hbs/rpc/rpc.go b/modules/hbs/rpc/rpc.go index f99500e38..7e7a5e962 100644 --- a/modules/hbs/rpc/rpc.go +++ b/modules/hbs/rpc/rpc.go @@ -1,17 +1,3 @@ -// Copyright 2017 Xiaomi, Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - package rpc import (