mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-21 22:49:31 +00:00
Updating methods to return error rather than using glog.Fatalf
This commit is contained in:
@@ -389,7 +389,10 @@ func Run(s *options.APIServer) error {
|
||||
|
||||
Tunneler: tunneler,
|
||||
}
|
||||
m := master.New(config)
|
||||
m, err := master.New(config)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
m.Run(s.ServerRunOptions)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user