File tree Expand file tree Collapse file tree 6 files changed +4
-7
lines changed
Expand file tree Collapse file tree 6 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ limitations under the License.
1515*/
1616
1717// Package context contains utilities for working with Function context.
18- package context
18+ package context //nolint:revive // local sdk package
1919
2020// Well-known context keys.
2121const (
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ limitations under the License.
1818//
1919// Copied over from github.com/crossplane/crossplane-runtime/v2/pkg/errors for
2020// better discoverability and possibly diverge in the future.
21- package errors
21+ package errors //nolint:revive // local sdk package
2222
2323import (
2424 "errors"
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
1616
17- // Package request contains utilities for working with RunFunctionRequests.
1817package request
1918
2019import (
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ import (
2929// without depending on any specific provider.
3030type TestResource struct {
3131 metav1.TypeMeta `json:",inline"`
32- metav1.ObjectMeta `json:"metadata,omitempty "`
32+ metav1.ObjectMeta `json:"metadata"`
3333
3434 Spec TestResourceSpec `json:"spec"`
35- Status TestResourceStatus `json:"status,omitempty "`
35+ Status TestResourceStatus `json:"status,omitzero "`
3636}
3737
3838// TestResourceSpec defines the desired state of TestResource.
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
1616
17- // Package response contains utilities for working with RunFunctionResponses.
1817package response
1918
2019import (
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
1414limitations under the License.
1515*/
1616
17- // Package response contains utilities for working with RunFunctionResponses.
1817package response
1918
2019import (
You can’t perform that action at this time.
0 commit comments