LoadInstance is like Load but returns the config of the currently running instance.
()
| 115 | |
| 116 | // LoadInstance is like Load but returns the config of the currently running instance. |
| 117 | func LoadInstance() (config.Config, error) { |
| 118 | return LoadFrom(config.CurrentProfile().StateFile()) |
| 119 | } |
| 120 | |
| 121 | // Teardown deletes the config. |
| 122 | func Teardown() error { |
no test coverage detected