boskos/ranch/ranch.go
func (r *Ranch) LogStatus() {
	resources, err := r.Storage.GetResources()

	if err != nil {
		return
	}

	resJSON, err := json.Marshal(resources)
	if err != nil {
		logrus.WithError(err).Errorf("Fail to marshal Resources. %v", resources)
	}
	logrus.Infof("Current Resources : %v", string(resJSON))
}
func (r *Ranch) LogStatus() {
	resources, err := r.Storage.GetResources()

	if err != nil {
		return
	}

	resJSON, err := json.Marshal(resources)
	if err != nil {
		logrus.WithError(err).Errorf("Fail to marshal Resources. %v", resources)
	}
	logrus.Infof("Current Resources : %v", string(resJSON))
}
func ( r * Ranch ) LogStatus ( ) { resources , err := r . Storage . GetResources ( ) if err != nil { return } resJSON , err := json . Marshal ( resources ) if err != nil { logrus . WithError ( err ) . Errorf ( " " , resources ) } logrus . Infof ( " " , string ( resJSON ) ) }
// LogStatus outputs current status of all resources
LogStatus outputs current status of all resources