Skip to content

Commit

Permalink
spelling: primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Mar 11, 2018
1 parent c35ee6c commit 5c8b249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/structs/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ func primitiveObjectDiff(old, new interface{}, filter []string, name string, con
// primitiveObjectSetDiff does a set difference of the old and new sets. The
// filter parameter can be used to filter a set of primitive fields in the
// passed structs. The name corresponds to the name of the passed objects. If
// contextual diff is enabled, objects' primtive fields will be returned even if
// contextual diff is enabled, objects' primitive fields will be returned even if
// no diff exists.
func primitiveObjectSetDiff(old, new []interface{}, filter []string, name string, contextual bool) []*ObjectDiff {
makeSet := func(objects []interface{}) map[string]interface{} {
Expand Down

0 comments on commit 5c8b249

Please sign in to comment.