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

Commit

Permalink
remove repeative log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
shae-eastman committed Jun 7, 2022
1 parent 48ec4ca commit 3842ad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
NAME := k8s-custom-iptables
SRCS := run.sh

TAG ?= 1.0
REGISTRY=gcr.io/google_containers
TAG ?= 1.2
REGISTRY=bisontrails
IMAGE := $(REGISTRY)/$(NAME):$(TAG)

ifeq ($(REGISTRY),)
Expand All @@ -28,7 +28,7 @@ endif
all: push

push: image
gcloud docker -- push $(IMAGE)
docker -- push $(IMAGE)

image: Dockerfile $(SRCS)
docker build -f Dockerfile -t $(IMAGE) .
Expand Down
3 changes: 1 addition & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ update_nat() {
if ${IPTABLES} -t nat -C POSTROUTING -d ${subnet} \
-m comment --comment "${comment}" -j MASQUERADE -w ${WAIT_INTERVAL}\
2>/dev/null; then
log "NAT rule ${comment} is installed"
return
fi
fi
Expand Down Expand Up @@ -103,4 +102,4 @@ main() {
done
}

main
main

0 comments on commit 3842ad2

Please sign in to comment.