Skip to content

Commit

Permalink
add judgment
Browse files Browse the repository at this point in the history
  • Loading branch information
caiyixiang committed Mar 3, 2017
1 parent 1822537 commit 248f6ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/pkg/ingress/controller/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ func NewIngressController(backend ingress.Controller) *GenericController {
}
}

os.MkdirAll(ingress.DefaultSSLDirectory, 0655)
err = os.MkdirAll(ingress.DefaultSSLDirectory, 0655)
if err != nil {
glog.Errorf("Failed to mkdir SSL directory: %v", err)
}

config := &Configuration{
UpdateStatus: *updateStatus,
Expand Down

0 comments on commit 248f6ad

Please sign in to comment.