Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Mar 14, 2024
1 parent 45cc29a commit f8480a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/util/invalid_serialization_detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ func (d *InvalidSerializationDetectorSchema) SerializeType(data string) (any, er
// ApplyScope is for applying a scope to the references. Does not apply to this object.
func (d *InvalidSerializationDetectorSchema) ApplyScope(_ schema.Scope, _ string) {}

// ValidateReferences validates that all necessary references from scopes have been applied.
// Does not apply to this object.
func (d *InvalidSerializationDetectorSchema) ValidateReferences() error {
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion workflow/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (e *executor) applyExternalScopes(
availableObjects := ""
for namespace, scope := range allNamespaces {
availableObjects += "\n" + namespace + ":"
for objectID, _ := range scope.Objects() {
for objectID := range scope.Objects() {
availableObjects += " " + objectID
}
}
Expand Down

0 comments on commit f8480a8

Please sign in to comment.