func (c executeOneByRevision) Ensure(responses []transport.RefreshResponse) error {
	for _, resp := range responses {
		if resp.InstanceKey == c.instanceKey {
			return nil
		}
	}
	return errors.NotValidf("%v action key", string(c.action))
}
// Ensure that the request back contains the information we requested.
Ensure that the request back contains the information we requested.
// Ensure that the request back contains the information we requested .
func (c executeOneByRevision) Ensure(responses []transport.RefreshResponse) error {
	for _, resp := range responses {
		if resp.InstanceKey == c.instanceKey {
			return nil
		}
	}
	return errors.NotValidf("%v action key", string(c.action))
}
func ( c executeOneByRevision ) Ensure ( responses [ ] transport . RefreshResponse ) error { for _ , resp := range responses { if resp . InstanceKey == c . instanceKey { return nil } } return errors . NotValidf ( " " , string ( c . action ) ) }
Ensure that the request back contains the information we requested.
Ensure that the request back contains the information we requested .