(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestLoadClusterConfig(t *testing.T) { |
| 13 | if !testutils.IsSingleTesting() { |
| 14 | return |
| 15 | } |
| 16 | |
| 17 | config, err := configs.LoadClusterConfig() |
| 18 | if err != nil { |
| 19 | t.Fatal(err) |
| 20 | } |
| 21 | t.Logf("%+v", config) |
| 22 | |
| 23 | configData, err := yaml.Marshal(config) |
| 24 | if err != nil { |
| 25 | t.Fatal(err) |
| 26 | } |
| 27 | t.Log(string(configData)) |
| 28 | } |
nothing calls this directly
no test coverage detected