func (r VaultService) revoke(lease string) error {
	glog.V(3).Infof("attemping to revoking the lease: %s", lease)

	err := r.client.Sys().Revoke(lease)
	if err != nil {
		return err
	}
	glog.V(3).Infof("successfully revoked the leaseId: %s", lease)

	return nil
}
// revoke attempts to revoke the lease of a resource
//	lease		: the lease lease which was given when you got it
revoke attempts to revoke the lease of a resource
lease		: the lease lease which was given when you got it
// revoke attempts to revoke the lease of a resource // lease : the lease lease which was given when you got it
func (r VaultService) revoke(lease string) error {
	glog.V(3).Infof("attemping to revoking the lease: %s", lease)
	err := r.client.Sys().Revoke(lease)
	if err != nil {
		return err
	}
	glog.V(3).Infof("successfully revoked the leaseId: %s", lease)
	return nil
}
func ( r VaultService ) revoke ( lease string ) error { glog . V ( 3 ) . Infof ( " " , lease ) err := r . client . Sys ( ) . Revoke ( lease ) if err != nil { return err } glog . V ( 3 ) . Infof ( " " , lease ) return nil }
revoke attempts to revoke the lease of a resource
lease		: the lease lease which was given when you got it
revoke attempts to revoke the lease of a resource lease : the lease lease which was given when you got it