Changing print + os.exit to log.Fatal. Leaving a TODO to move documentation to interface.

This commit is contained in:
Renan DelValle 2018-09-14 15:13:12 -07:00
parent 037c636d6d
commit 4309af3da0
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 109 additions and 159 deletions

View file

@ -38,6 +38,7 @@ import (
const VERSION = "1.2.1"
// TODO(rdelvalle): Move documentation to interface in order to make godoc look better/more accessible
type Realis interface {
AbortJobUpdate(updateKey aurora.JobUpdateKey, message string) (*aurora.Response, error)
AddInstances(instKey aurora.InstanceKey, count int32) (*aurora.Response, error)