Skip to content

Commit bf2d408

Browse files
docs: move nolint directive to beginning of block (#396)
Signed-off-by: Sahid Velji <sahidvelji@gmail.com> Co-authored-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1 parent b9cc78b commit bf2d408

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

openfeature/resolution_error.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,10 @@ func (e *ProviderInitError) Error() string {
119119
return fmt.Sprintf("ProviderInitError: %s (code: %s)", e.Message, e.ErrorCode)
120120
}
121121

122+
//nolint:staticcheck // Renaming these would be a breaking change
122123
var (
123124
// ProviderNotReadyError signifies that an operation failed because the provider is in a NOT_READY state.
124-
ProviderNotReadyError = errors.New("provider not yet initialized") //nolint:staticcheck // Renaming this would be a breaking change
125+
ProviderNotReadyError = errors.New("provider not yet initialized")
125126
// ProviderFatalError signifies that an operation failed because the provider is in a FATAL state.
126-
ProviderFatalError = errors.New("provider is in an irrecoverable error state") //nolint:staticcheck // Renaming this would be a breaking change
127+
ProviderFatalError = errors.New("provider is in an irrecoverable error state")
127128
)

0 commit comments

Comments
 (0)