diff --git a/.dockerignore b/.dockerignore index a81ec834..d7898a32 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,3 +4,5 @@ .DS_Store Dockerfile temp +.pre-commit.log + diff --git a/.gitignore b/.gitignore index 351ba82e..f2611a2d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ *.iml public/ + +.pre-commit.log + diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index edfeed9a..3b429b16 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,9 +16,9 @@ repos: rev: v1.51.1 hooks: - id: golangci-lint - log_file: /tmp/pre-commit.log + log_file: .pre-commit.log - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.4.1 hooks: - id: prettier - log_file: /tmp/pre-commit.log + log_file: .pre-commit.log diff --git a/internal/envconfig/envconfig.go b/internal/envconfig/envconfig.go index 5213c431..a56060f3 100644 --- a/internal/envconfig/envconfig.go +++ b/internal/envconfig/envconfig.go @@ -4,14 +4,13 @@ // 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 +// 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 envconfig import ( diff --git a/internal/modelschema/modelschema.go b/internal/modelschema/modelschema.go index 2902c405..11874037 100644 --- a/internal/modelschema/modelschema.go +++ b/internal/modelschema/modelschema.go @@ -4,14 +4,13 @@ // 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 +// 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 modelschema import ( diff --git a/internal/util/connect.go b/internal/util/connect.go index 3dbb1bf7..11166df9 100644 --- a/internal/util/connect.go +++ b/internal/util/connect.go @@ -4,14 +4,13 @@ // 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 +// 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 util import ( diff --git a/internal/util/connect_test.go b/internal/util/connect_test.go index 6876bd98..8d4fd218 100644 --- a/internal/util/connect_test.go +++ b/internal/util/connect_test.go @@ -4,14 +4,13 @@ // 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 +// 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 util import ( diff --git a/internal/util/fileutil.go b/internal/util/fileutil.go index 7092ee2d..f1c86c02 100644 --- a/internal/util/fileutil.go +++ b/internal/util/fileutil.go @@ -4,14 +4,13 @@ // 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 +// 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 util import ( diff --git a/internal/util/join.go b/internal/util/join.go index d358eded..57f7607e 100644 --- a/internal/util/join.go +++ b/internal/util/join.go @@ -4,14 +4,13 @@ // 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 +// 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 util import ( diff --git a/internal/util/join_test.go b/internal/util/join_test.go index 77e0400f..325c5819 100644 --- a/internal/util/join_test.go +++ b/internal/util/join_test.go @@ -4,14 +4,13 @@ // 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 +// 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 util import ( diff --git a/internal/util/loadmodel.go b/internal/util/loadmodel.go index dc694108..b9621b66 100644 --- a/internal/util/loadmodel.go +++ b/internal/util/loadmodel.go @@ -4,14 +4,13 @@ // 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 +// 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 util import ( diff --git a/model-mesh-mlserver-adapter/main.go b/model-mesh-mlserver-adapter/main.go index fcbbcb74..368f47e4 100644 --- a/model-mesh-mlserver-adapter/main.go +++ b/model-mesh-mlserver-adapter/main.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go b/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go index db76cb9d..a577c1cd 100644 --- a/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go +++ b/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go b/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go index 4732be04..5e9c3914 100644 --- a/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go +++ b/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-mlserver-adapter/server/config.go b/model-mesh-mlserver-adapter/server/config.go index 8afadb20..0ceef9d9 100644 --- a/model-mesh-mlserver-adapter/server/config.go +++ b/model-mesh-mlserver-adapter/server/config.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-mlserver-adapter/server/server.go b/model-mesh-mlserver-adapter/server/server.go index 100978c6..5fc499f0 100644 --- a/model-mesh-mlserver-adapter/server/server.go +++ b/model-mesh-mlserver-adapter/server/server.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-mlserver-adapter/server/server_test.go b/model-mesh-mlserver-adapter/server/server_test.go index 0de1e52e..0e1d3726 100644 --- a/model-mesh-mlserver-adapter/server/server_test.go +++ b/model-mesh-mlserver-adapter/server/server_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/main.go b/model-mesh-ovms-adapter/main.go index 807a84a6..92f48f6f 100644 --- a/model-mesh-ovms-adapter/main.go +++ b/model-mesh-ovms-adapter/main.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-ovms-adapter/server/adaptmodellayout.go b/model-mesh-ovms-adapter/server/adaptmodellayout.go index e5d7bf3a..09d6a0eb 100644 --- a/model-mesh-ovms-adapter/server/adaptmodellayout.go +++ b/model-mesh-ovms-adapter/server/adaptmodellayout.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/server/adaptmodellayout_test.go b/model-mesh-ovms-adapter/server/adaptmodellayout_test.go index 48e68ac5..3d750027 100644 --- a/model-mesh-ovms-adapter/server/adaptmodellayout_test.go +++ b/model-mesh-ovms-adapter/server/adaptmodellayout_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/server/config.go b/model-mesh-ovms-adapter/server/config.go index c27e3624..d24fd135 100644 --- a/model-mesh-ovms-adapter/server/config.go +++ b/model-mesh-ovms-adapter/server/config.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/server/const.go b/model-mesh-ovms-adapter/server/const.go index 228aa48b..ff0f5bbe 100644 --- a/model-mesh-ovms-adapter/server/const.go +++ b/model-mesh-ovms-adapter/server/const.go @@ -4,14 +4,13 @@ // 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 +// 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 server const ( diff --git a/model-mesh-ovms-adapter/server/modelconfig.go b/model-mesh-ovms-adapter/server/modelconfig.go index 8b9d7df1..9477a36e 100644 --- a/model-mesh-ovms-adapter/server/modelconfig.go +++ b/model-mesh-ovms-adapter/server/modelconfig.go @@ -4,14 +4,13 @@ // 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 +// 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 server // Types defining the structure of the OVMS Multi-Model config file diff --git a/model-mesh-ovms-adapter/server/modelmanager.go b/model-mesh-ovms-adapter/server/modelmanager.go index 84160b06..270c70f1 100644 --- a/model-mesh-ovms-adapter/server/modelmanager.go +++ b/model-mesh-ovms-adapter/server/modelmanager.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/server/modelmanager_test.go b/model-mesh-ovms-adapter/server/modelmanager_test.go index 142b1758..2355278a 100644 --- a/model-mesh-ovms-adapter/server/modelmanager_test.go +++ b/model-mesh-ovms-adapter/server/modelmanager_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/server/server.go b/model-mesh-ovms-adapter/server/server.go index 3b0a1c54..3c7399d8 100644 --- a/model-mesh-ovms-adapter/server/server.go +++ b/model-mesh-ovms-adapter/server/server.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-ovms-adapter/server/server_test.go b/model-mesh-ovms-adapter/server/server_test.go index 52df935a..7ef32e7f 100644 --- a/model-mesh-ovms-adapter/server/server_test.go +++ b/model-mesh-ovms-adapter/server/server_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-torchserve-adapter/main.go b/model-mesh-torchserve-adapter/main.go index bd2de4d3..43c45071 100644 --- a/model-mesh-torchserve-adapter/main.go +++ b/model-mesh-torchserve-adapter/main.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-torchserve-adapter/server/config.go b/model-mesh-torchserve-adapter/server/config.go index b6ac1e58..1af6d858 100644 --- a/model-mesh-torchserve-adapter/server/config.go +++ b/model-mesh-torchserve-adapter/server/config.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go b/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go index 8c446df6..9cf2e4d1 100644 --- a/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go +++ b/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-triton-adapter/main.go b/model-mesh-triton-adapter/main.go index 88f8735a..8391fd66 100644 --- a/model-mesh-triton-adapter/main.go +++ b/model-mesh-triton-adapter/main.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-triton-adapter/server/adaptmodellayout.go b/model-mesh-triton-adapter/server/adaptmodellayout.go index 6c142718..643a212d 100644 --- a/model-mesh-triton-adapter/server/adaptmodellayout.go +++ b/model-mesh-triton-adapter/server/adaptmodellayout.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/server/adaptmodellayout_test.go b/model-mesh-triton-adapter/server/adaptmodellayout_test.go index d2667868..c077440d 100644 --- a/model-mesh-triton-adapter/server/adaptmodellayout_test.go +++ b/model-mesh-triton-adapter/server/adaptmodellayout_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/server/config.go b/model-mesh-triton-adapter/server/config.go index 0835f134..1fa136aa 100644 --- a/model-mesh-triton-adapter/server/config.go +++ b/model-mesh-triton-adapter/server/config.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/server/const.go b/model-mesh-triton-adapter/server/const.go index 4f2de6db..c7e3b768 100644 --- a/model-mesh-triton-adapter/server/const.go +++ b/model-mesh-triton-adapter/server/const.go @@ -4,14 +4,13 @@ // 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 +// 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 server const ( diff --git a/model-mesh-triton-adapter/server/schema.go b/model-mesh-triton-adapter/server/schema.go index 655cbbff..da459e88 100644 --- a/model-mesh-triton-adapter/server/schema.go +++ b/model-mesh-triton-adapter/server/schema.go @@ -4,14 +4,13 @@ // 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 +// 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 server // Refer to this proto file for schema and supported data types diff --git a/model-mesh-triton-adapter/server/schema_test.go b/model-mesh-triton-adapter/server/schema_test.go index f6a6b052..8f6959d7 100644 --- a/model-mesh-triton-adapter/server/schema_test.go +++ b/model-mesh-triton-adapter/server/schema_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/server/server.go b/model-mesh-triton-adapter/server/server.go index 8466ec0b..6b831f14 100644 --- a/model-mesh-triton-adapter/server/server.go +++ b/model-mesh-triton-adapter/server/server.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/server/server_test.go b/model-mesh-triton-adapter/server/server_test.go index ac32d957..9434ed70 100644 --- a/model-mesh-triton-adapter/server/server_test.go +++ b/model-mesh-triton-adapter/server/server_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/server/utils.go b/model-mesh-triton-adapter/server/utils.go index 19b33ada..111b4834 100644 --- a/model-mesh-triton-adapter/server/utils.go +++ b/model-mesh-triton-adapter/server/utils.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go b/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go index ba5887bf..079428bc 100644 --- a/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go +++ b/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go b/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go index 119f8253..ab0c27b3 100644 --- a/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go +++ b/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go @@ -4,14 +4,13 @@ // 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 +// 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/model-mesh-triton-adapter/triton/mock_triton_server.go b/model-mesh-triton-adapter/triton/mock_triton_server.go index 02a2fb2b..a9ba2b4b 100644 --- a/model-mesh-triton-adapter/triton/mock_triton_server.go +++ b/model-mesh-triton-adapter/triton/mock_triton_server.go @@ -4,14 +4,13 @@ // 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 +// 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/model-serving-puller/main.go b/model-serving-puller/main.go index 8e444607..487b021e 100644 --- a/model-serving-puller/main.go +++ b/model-serving-puller/main.go @@ -4,14 +4,13 @@ // 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 +// 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/model-serving-puller/puller/config.go b/model-serving-puller/puller/config.go index 78c394ec..2af39601 100644 --- a/model-serving-puller/puller/config.go +++ b/model-serving-puller/puller/config.go @@ -4,14 +4,13 @@ // 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 +// 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 puller import ( diff --git a/model-serving-puller/puller/dotpath.go b/model-serving-puller/puller/dotpath.go index a4cfde40..42329d15 100644 --- a/model-serving-puller/puller/dotpath.go +++ b/model-serving-puller/puller/dotpath.go @@ -4,14 +4,13 @@ // 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 +// 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 puller import ( diff --git a/model-serving-puller/puller/dotpath_test.go b/model-serving-puller/puller/dotpath_test.go index 499fa035..7441b913 100644 --- a/model-serving-puller/puller/dotpath_test.go +++ b/model-serving-puller/puller/dotpath_test.go @@ -4,14 +4,13 @@ // 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 +// 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 puller import ( diff --git a/model-serving-puller/puller/puller.go b/model-serving-puller/puller/puller.go index 0c4dae98..89481e91 100644 --- a/model-serving-puller/puller/puller.go +++ b/model-serving-puller/puller/puller.go @@ -4,14 +4,13 @@ // 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 +// 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 puller import ( diff --git a/model-serving-puller/puller/puller_test.go b/model-serving-puller/puller/puller_test.go index 99f87685..5d86a4ff 100644 --- a/model-serving-puller/puller/puller_test.go +++ b/model-serving-puller/puller/puller_test.go @@ -4,14 +4,13 @@ // 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 +// 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 puller import ( diff --git a/model-serving-puller/server/config.go b/model-serving-puller/server/config.go index b76e9215..aa8c4797 100644 --- a/model-serving-puller/server/config.go +++ b/model-serving-puller/server/config.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-serving-puller/server/modelstate.go b/model-serving-puller/server/modelstate.go index cc9046ee..68b601a8 100644 --- a/model-serving-puller/server/modelstate.go +++ b/model-serving-puller/server/modelstate.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-serving-puller/server/modelstate_test.go b/model-serving-puller/server/modelstate_test.go index 53770ffb..ada5a067 100644 --- a/model-serving-puller/server/modelstate_test.go +++ b/model-serving-puller/server/modelstate_test.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/model-serving-puller/server/server.go b/model-serving-puller/server/server.go index 9507fbf9..d3b97026 100644 --- a/model-serving-puller/server/server.go +++ b/model-serving-puller/server/server.go @@ -4,14 +4,13 @@ // 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 +// 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 server import ( diff --git a/pullman/cache.go b/pullman/cache.go index ff0cafd7..d6573450 100644 --- a/pullman/cache.go +++ b/pullman/cache.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/cache_test.go b/pullman/cache_test.go index 0a818a1d..9d49a6af 100644 --- a/pullman/cache_test.go +++ b/pullman/cache_test.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/cmd/main.go b/pullman/cmd/main.go index cacb26d1..ff6fc6ba 100644 --- a/pullman/cmd/main.go +++ b/pullman/cmd/main.go @@ -4,14 +4,13 @@ // 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 +// 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/pullman/config.go b/pullman/config.go index af768fb3..909a74b0 100644 --- a/pullman/config.go +++ b/pullman/config.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/config_test.go b/pullman/config_test.go index d36e6d9b..006166b1 100644 --- a/pullman/config_test.go +++ b/pullman/config_test.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/helpers.go b/pullman/helpers.go index 6835798c..85d53428 100644 --- a/pullman/helpers.go +++ b/pullman/helpers.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/pullman.go b/pullman/pullman.go index 90b11261..51369c16 100644 --- a/pullman/pullman.go +++ b/pullman/pullman.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/pullman_test.go b/pullman/pullman_test.go index 201ba013..a647e263 100644 --- a/pullman/pullman_test.go +++ b/pullman/pullman_test.go @@ -4,14 +4,13 @@ // 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 +// 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 pullman import ( diff --git a/pullman/storageproviders/azure/downloader.go b/pullman/storageproviders/azure/downloader.go index 0599e0cb..6a38595d 100644 --- a/pullman/storageproviders/azure/downloader.go +++ b/pullman/storageproviders/azure/downloader.go @@ -4,14 +4,13 @@ // 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 +// 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 azureprovider import ( diff --git a/pullman/storageproviders/azure/provider.go b/pullman/storageproviders/azure/provider.go index 4973c673..92bd721b 100644 --- a/pullman/storageproviders/azure/provider.go +++ b/pullman/storageproviders/azure/provider.go @@ -4,14 +4,13 @@ // 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 +// 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 azureprovider import ( diff --git a/pullman/storageproviders/azure/provider_test.go b/pullman/storageproviders/azure/provider_test.go index c7e5a750..ce327e6b 100644 --- a/pullman/storageproviders/azure/provider_test.go +++ b/pullman/storageproviders/azure/provider_test.go @@ -4,14 +4,13 @@ // 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 +// 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 azureprovider import ( diff --git a/pullman/storageproviders/gcs/downloader.go b/pullman/storageproviders/gcs/downloader.go index 4a512127..d9ebb631 100644 --- a/pullman/storageproviders/gcs/downloader.go +++ b/pullman/storageproviders/gcs/downloader.go @@ -4,14 +4,13 @@ // 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 +// 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 gcsprovider import ( diff --git a/pullman/storageproviders/gcs/provider.go b/pullman/storageproviders/gcs/provider.go index b0b8012d..69cbaead 100644 --- a/pullman/storageproviders/gcs/provider.go +++ b/pullman/storageproviders/gcs/provider.go @@ -4,14 +4,13 @@ // 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 +// 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 gcsprovider import ( diff --git a/pullman/storageproviders/gcs/provider_test.go b/pullman/storageproviders/gcs/provider_test.go index a8748b2c..b113b714 100644 --- a/pullman/storageproviders/gcs/provider_test.go +++ b/pullman/storageproviders/gcs/provider_test.go @@ -4,14 +4,13 @@ // 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 +// 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 gcsprovider import ( diff --git a/pullman/storageproviders/http/downloader.go b/pullman/storageproviders/http/downloader.go index 5331223c..dc3332cf 100644 --- a/pullman/storageproviders/http/downloader.go +++ b/pullman/storageproviders/http/downloader.go @@ -4,14 +4,13 @@ // 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 +// 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 httpprovider import ( diff --git a/pullman/storageproviders/http/provider.go b/pullman/storageproviders/http/provider.go index 88ad8d0c..18a97cc5 100644 --- a/pullman/storageproviders/http/provider.go +++ b/pullman/storageproviders/http/provider.go @@ -4,14 +4,13 @@ // 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 +// 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 httpprovider import ( diff --git a/pullman/storageproviders/http/provider_test.go b/pullman/storageproviders/http/provider_test.go index b2c1a8fe..a51a455f 100644 --- a/pullman/storageproviders/http/provider_test.go +++ b/pullman/storageproviders/http/provider_test.go @@ -4,14 +4,13 @@ // 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 +// 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 httpprovider import ( diff --git a/pullman/storageproviders/pvc/provider.go b/pullman/storageproviders/pvc/provider.go index 0e7d2d7f..949c71f4 100644 --- a/pullman/storageproviders/pvc/provider.go +++ b/pullman/storageproviders/pvc/provider.go @@ -4,14 +4,13 @@ // 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 +// 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 pvcprovider import ( diff --git a/pullman/storageproviders/pvc/provider_test.go b/pullman/storageproviders/pvc/provider_test.go index 6973d9e1..ca316745 100644 --- a/pullman/storageproviders/pvc/provider_test.go +++ b/pullman/storageproviders/pvc/provider_test.go @@ -4,14 +4,13 @@ // 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 +// 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 pvcprovider import ( diff --git a/pullman/storageproviders/s3/downloader.go b/pullman/storageproviders/s3/downloader.go index d643f00c..0cb8be14 100644 --- a/pullman/storageproviders/s3/downloader.go +++ b/pullman/storageproviders/s3/downloader.go @@ -4,14 +4,13 @@ // 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 +// 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 s3provider import ( diff --git a/scripts/fmt.sh b/scripts/fmt.sh index 474307b8..36eb5b76 100755 --- a/scripts/fmt.sh +++ b/scripts/fmt.sh @@ -17,8 +17,8 @@ pre-commit run --all-files RETURN_CODE=$? # cat this file for helping on identifying the root cause when some issue happens -if [ -f /tmp/pre-commit.log ]; then - cat /tmp/pre-commit.log +if [ -f .pre-commit.log ]; then + cat .pre-commit.log fi function echoError() {