Commit 5d87584 1 parent ff51298 commit 5d87584 Copy full SHA for 5d87584
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
docker run --rm -it\
8
8
-v " $( ROOT_DIR) " :/usr/src/github.com/byrnedo/dockdash \
9
9
-w /usr/src/github.com/byrnedo/dockdash golang:1.5.1 \
10
- go get -d -v && go build -v -o build/dockdash main.go
10
+ go get -d -v && go build -v -o build/dockdash
11
11
12
12
# cross compile 386 and amd64
13
13
release :
@@ -17,7 +17,7 @@ release:
17
17
-w /usr/src/github.com/byrnedo/dockdash golang:1.5.1 go get -d -v && bash -c \
18
18
" for linux_arch in 386 amd64; \
19
19
do \
20
- env GOOS=linux GOARCH=\$ $linux_arch go build -o build/releases/linux/\$ $linux_arch /dockdash main.go && \
20
+ env GOOS=linux GOARCH=\$ $linux_arch go build -o build/releases/linux/\$ $linux_arch /dockdash && \
21
21
(cd build/releases/linux/\$ $linux_arch / && zip ../../dockdash_linux_\$ $linux_arch .zip dockdash); \
22
22
done ; "
23
23
26
26
-v /var/run/docker.sock:/var/run/docker.sock \
27
27
-v " $( ROOT_DIR) " :/usr/src/github.com/byrnedo/dockdash \
28
28
-w /usr/src/github.com/byrnedo/dockdash golang:1.5.1 \
29
- go get -d -v && go build -v -o /tmp/dockdash main.go && /tmp/dockdash
29
+ go get -d -v && go build -v -o /tmp/dockdash && /tmp/dockdash
30
30
Original file line number Diff line number Diff line change @@ -184,8 +184,8 @@ func main() {
184
184
uiView .CpuChart .DataLabels = newStatsCharts .CpuChart .DataLabels [offset :]
185
185
uiView .MemChart .Data = newStatsCharts .MemChart .Data [offset :]
186
186
uiView .MemChart .DataLabels = newStatsCharts .MemChart .DataLabels [offset :]
187
+ default :
187
188
if time .Now ().Sub (lastStatsRender ) > 500 * time .Millisecond {
188
- Info .Println ("Got draw stats event" )
189
189
uiView .Render ()
190
190
lastStatsRender = time .Now ()
191
191
}
You can’t perform that action at this time.
0 commit comments