houshengbo closed pull request #3650: Fix last scancode issues with performance directory & increase granularity URL: https://github.com/apache/incubator-openwhisk/pull/3650
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/performance/README.md b/performance/README.md index 17ec2ce2f2..71302c1f7d 100644 --- a/performance/README.md +++ b/performance/README.md @@ -1,18 +1,19 @@ <!-- # -# Licensed to the Apache Software Foundation (ASF) under one or more contributor -# license agreements. See the NOTICE file distributed with this work for additional -# information regarding copyright ownership. The ASF licenses this file to you -# 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: +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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 +# 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. +# 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. # --> # :electric_plug: Apache OpenWhisk - Performance Tests diff --git a/performance/wrk_tests/post.lua b/performance/wrk_tests/post.lua index e3e664cb8c..ab5401b28c 100644 --- a/performance/wrk_tests/post.lua +++ b/performance/wrk_tests/post.lua @@ -1 +1 @@ -wrk.method = "POST" \ No newline at end of file +wrk.method = "POST" diff --git a/tools/travis/build.sh b/tools/travis/build.sh index 405b8545c4..2a03a48101 100755 --- a/tools/travis/build.sh +++ b/tools/travis/build.sh @@ -31,7 +31,7 @@ git clone https://github.com/apache/incubator-openwhisk-utilities.git # run the scancode util. against project source code starting at its root cd $UTILDIR -scancode/scanCode.py --config scancode/ASF-Release-v2.cfg $ROOTDIR +scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR # run scalafmt checks cd $ROOTDIR ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services