(path string)
| 1158 | } |
| 1159 | |
| 1160 | func (c *Client) absPath(path string) string { |
| 1161 | p := gopath.Clean(path) |
| 1162 | if !gopath.IsAbs(p) { |
| 1163 | p = gopath.Join(c.cwd, p) |
| 1164 | } |
| 1165 | return gopath.Clean(p) |
| 1166 | } |
| 1167 | |
| 1168 | func (c *Client) loadConfFromMaster(masters []string) (err error) { |
| 1169 | mc := masterSDK.NewMasterClient(masters, false) |
no test coverage detected