Skip to content

Commit

Permalink
Fix lint failure
Browse files Browse the repository at this point in the history
'nil' is the zero value, there's no need to specify it at init time.
  • Loading branch information
afrittoli committed Dec 9, 2019
1 parent 449cf1b commit 2a3a913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/artifacts/artifact_storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var (
Name: "pipelineruntest",
},
}
defaultStorageClass *string = nil
defaultStorageClass *string
customStorageClass = "custom-storage-class"
persistentVolumeClaim = GetPersistentVolumeClaim(DefaultPvcSize, defaultStorageClass)
quantityComparer = cmp.Comparer(func(x, y resource.Quantity) bool {
Expand Down

0 comments on commit 2a3a913

Please sign in to comment.