Skip to content

Commit

Permalink
Fix klog init flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Pan committed Feb 13, 2019
1 parent a1fa01f commit b964043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ADD . .
RUN make

FROM amazonlinux:2
RUN yum update -y && yum install util-linux -y
RUN yum install util-linux -y
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-fsx-csi-driver/hack/install-lustre-client.sh /install-lustre-client.sh
RUN /install-lustre-client.sh
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-fsx-csi-driver/bin/aws-fsx-csi-driver /bin/aws-fsx-csi-driver
Expand Down
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (

func main() {
var endpoint = flag.String("endpoint", "unix://tmp/csi.sock", "CSI Endpoint")
klog.InitFlags(nil)
flag.Parse()

drv := driver.NewDriver(*endpoint)
Expand Down

0 comments on commit b964043

Please sign in to comment.