Skip to content

Commit

Permalink
Merge pull request #562 from hashicorp/compliance/add-headers
Browse files Browse the repository at this point in the history
[COMPLIANCE] Add Copyright and License Headers
  • Loading branch information
gdavison authored Jul 24, 2023
2 parents 82e8cda + c1d97bb commit 5810ac5
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diag/diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag

type Diagnostic interface {
Expand Down
3 changes: 3 additions & 0 deletions diag/diagnostics.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag

// Diagnostics represents a collection of diagnostics.
Expand Down
3 changes: 3 additions & 0 deletions diag/diagnostics_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag_test

import (
Expand Down
3 changes: 3 additions & 0 deletions diag/error_diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag

var _ Diagnostic = ErrorDiagnostic{}
Expand Down
3 changes: 3 additions & 0 deletions diag/error_diagnostic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag_test

import (
Expand Down
3 changes: 3 additions & 0 deletions diag/native_error_diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag

var _ DiagnosticWithErr = NativeErrorDiagnostic{}
Expand Down
3 changes: 3 additions & 0 deletions diag/severity.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag

// Severity represents the level of feedback for a diagnostic.
Expand Down
3 changes: 3 additions & 0 deletions diag/warning_diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag

var _ Diagnostic = WarningDiagnostic{}
Expand Down
3 changes: 3 additions & 0 deletions diag/warning_diagnostic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package diag_test

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/test/validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package test

import (
Expand Down

0 comments on commit 5810ac5

Please sign in to comment.