Merge pull request #76 from coreos/sp

various: spelling corrections
This commit is contained in:
Jimmy Zelinskie 2016-02-24 18:03:53 -05:00
commit 9445fef35a
4 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ type Datastore interface {
// necessary. A vulnerability is uniquely identified by its Namespace and its Name.
// The FixedIn field may only contain a partial list of Features that are affected by the
// Vulnerability, along with the version in which the vulnerability is fixed. It is the
// responsability of the implementation to update the list properly. A version equals to
// responsibility of the implementation to update the list properly. A version equals to
// types.MinVersion means that the given Feature is not being affected by the Vulnerability at
// all and thus, should be removed from the list. It is important that Features should be unique
// in the FixedIn list. For example, it doesn't make sense to have two `openssl` Feature listed as

View File

@ -226,7 +226,7 @@ func (pgSQL *pgSQL) InsertLayer(layer database.Layer) error {
return err
} else if err == nil {
if existingLayer.EngineVersion >= layer.EngineVersion {
// The layer exists and has an equal or higher engine verison, do nothing.
// The layer exists and has an equal or higher engine version, do nothing.
return nil
}

View File

@ -154,7 +154,7 @@ func findTask(datastore database.Datastore, renotifyInterval time.Duration, whoA
// Find a notification to send.
notification, err := datastore.GetAvailableNotification(renotifyInterval)
if err != nil {
// There is no notification or an error occured.
// There is no notification or an error occurred.
if err != cerrors.ErrNotFound {
log.Warningf("could not get notification to send: %s", err)
}

View File

@ -140,7 +140,7 @@ func detectContent(name, path, imageFormat string, parent *database.Layer) (name
// If there are no feature detected, use parent's features if possible.
// TODO(Quentin-M): We eventually want to give the choice to each detectors to use none/some
// parent's Features. It would be useful for dectectors that can't find their entire result using
// parent's Features. It would be useful for detectors that can't find their entire result using
// one Layer.
if len(features) == 0 && parent != nil {
features = parent.Features