Skip to content

Instantly share code, notes, and snippets.

@badri
Created October 15, 2015 11:22
Show Gist options
  • Save badri/c09a63f1813c3ea5b8fa to your computer and use it in GitHub Desktop.
Save badri/c09a63f1813c3ea5b8fa to your computer and use it in GitHub Desktop.
error message
# github.com/axelerant/tsuru/app
app/app.go:98: cannot use app (type *App) as type provision.App in argument to Provisioner.Units:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:346: cannot use app (type *App) as type provision.App in argument to Provisioner.Destroy:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:455: cannot use app (type *App) as type provision.App in argument to Provisioner.RemoveUnits:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:828: cannot use app (type *App) as type provision.App in argument to Provisioner.ExecuteCommandOnce:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:828: cannot use args (type []string) as type string in argument to Provisioner.ExecuteCommandOnce
app/app.go:830: cannot use app (type *App) as type provision.App in argument to Provisioner.ExecuteCommandOnce:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:833: cannot use app (type *App) as type provision.App in argument to Provisioner.ExecuteCommand:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:847: cannot use app (type *App) as type provision.App in argument to Provisioner.Restart:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:861: cannot use app (type *App) as type provision.App in argument to Provisioner.Stop:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:1020: cannot use app (type *App) as type provision.App in argument to Provisioner.Restart:
*App does not implement provision.App (wrong type for Run method)
have Run(string, "io".Writer, bool, bool) error
want Run(string, "io".Writer, bool) error
app/app.go:1020: too many errors
# github.com/axelerant/tsuru/api
api/app.go:479: too many arguments in call to app.Run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment