examples: lib: Fix these rotted tests
I think the mgmt lib approach is a good idea, even though I'm not putting much energy into keeping these up to date. Let's at least re-enable the tests for now, after a few fixups.
This commit is contained in:
@@ -47,7 +47,7 @@ func NewMyGAPI(data *gapi.Data, name string, interval uint) (*MyGAPI, error) {
|
||||
// Cli takes an *Info struct, and returns our deploy if activated, and if there
|
||||
// are any validation problems, you should return an error. If there is no
|
||||
// deploy, then you should return a nil deploy and a nil error.
|
||||
func (obj *MyGAPI) Cli(info *gapi.CliInfo) (*gapi.Deploy, error) {
|
||||
func (obj *MyGAPI) Cli(info *gapi.Info) (*gapi.Deploy, error) {
|
||||
//fs := info.Fs // copy files from local filesystem *into* this fs...
|
||||
//debug := info.Debug
|
||||
//logf := func(format string, v ...interface{}) {
|
||||
|
||||
Reference in New Issue
Block a user