Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 3842ad2

Browse files
committed
remove repeative log entry
1 parent 48ec4ca commit 3842ad2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
NAME := k8s-custom-iptables
1818
SRCS := run.sh
1919

20-
TAG ?= 1.0
21-
REGISTRY=gcr.io/google_containers
20+
TAG ?= 1.2
21+
REGISTRY=bisontrails
2222
IMAGE := $(REGISTRY)/$(NAME):$(TAG)
2323

2424
ifeq ($(REGISTRY),)
@@ -28,7 +28,7 @@ endif
2828
all: push
2929

3030
push: image
31-
gcloud docker -- push $(IMAGE)
31+
docker -- push $(IMAGE)
3232

3333
image: Dockerfile $(SRCS)
3434
docker build -f Dockerfile -t $(IMAGE) .

run.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ update_nat() {
4040
if ${IPTABLES} -t nat -C POSTROUTING -d ${subnet} \
4141
-m comment --comment "${comment}" -j MASQUERADE -w ${WAIT_INTERVAL}\
4242
2>/dev/null; then
43-
log "NAT rule ${comment} is installed"
4443
return
4544
fi
4645
fi
@@ -103,4 +102,4 @@ main() {
103102
done
104103
}
105104

106-
main
105+
main

0 commit comments

Comments
 (0)