5ed1c04c98
The script wasn't reporting any errors due to a typo. Also fix MAINTAINER field for ceilometer-collector image. Change-Id: Idf1e2746ae395bb05ee679ca71a10a3f103ebfa8
15 lines
265 B
Bash
Executable File
15 lines
265 B
Bash
Executable File
#!/bin/sh
|
|
|
|
MAINTAINER='MAINTAINER Kolla Project (https://launchpad.net/kolla)'
|
|
RES=0
|
|
|
|
for dockerfile in "$@"; do
|
|
if ! grep -q "$MAINTAINER" "$dockerfile"; then
|
|
echo "ERROR: $dockerfile has incorrect MAINTAINER" >&2
|
|
RES=1
|
|
fi
|
|
done
|
|
|
|
exit $RES
|
|
|