Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit d2fece3

Browse files
committed
Fix linter problems
Signed-off-by: Ulysses Souza <[email protected]>
1 parent 762f462 commit d2fece3

File tree

3 files changed

+3
-57
lines changed

3 files changed

+3
-57
lines changed

cli/cmd/run/opts.go

Lines changed: 0 additions & 54 deletions
This file was deleted.

errdefs/errors.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545
// ErrNotImplemented is returned when a backend doesn't implement
4646
// an action
4747
ErrNotImplemented = errors.New("not implemented")
48-
// ErrParsingFailed
48+
// ErrParsingFailed is returned when a string cannot be parsed
4949
ErrParsingFailed = errors.New("parsing failed")
5050
)
5151

@@ -74,7 +74,7 @@ func IsErrNotImplemented(err error) bool {
7474
return errors.Is(err, ErrNotImplemented)
7575
}
7676

77-
// IsErrParseFail returns true if the unwrapped error is ErrParsingFailed
77+
// IsErrParsingFailed returns true if the unwrapped error is ErrParsingFailed
7878
func IsErrParsingFailed(err error) bool {
7979
return errors.Is(err, ErrParsingFailed)
8080
}

tests/aci-e2e/e2e-aci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func uploadFile(credential azfile.SharedKeyCredential, baseURL, fileName, fileCo
208208
fURL, err := url.Parse(baseURL + "/" + fileName)
209209
Expect(err).To(BeNil())
210210
fileURL := azfile.NewFileURL(*fURL, azfile.NewPipeline(&credential, azfile.PipelineOptions{}))
211-
err = azfile.UploadBufferToAzureFile(context.TODO(), []byte(testFileContent), fileURL, azfile.UploadToAzureFileOptions{})
211+
err = azfile.UploadBufferToAzureFile(context.TODO(), []byte(fileContent), fileURL, azfile.UploadToAzureFileOptions{})
212212
Expect(err).To(BeNil())
213213
}
214214

0 commit comments

Comments
 (0)