~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to constraints/constraints.go

typo

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
        return nil
217
217
}
218
218
 
219
 
// HasContainer returns true is the constraints.Value specifies a container.
 
219
// HasContainer returns true if the constraints.Value specifies a container.
220
220
func (v *Value) HasContainer() bool {
221
221
        return v.Container != nil && *v.Container != "" && *v.Container != instance.NONE
222
222
}