Skip to content

Commit 2f01736

Browse files
zmoogcursoragent
andcommitted
Fix lint issues in azureencodingextension
Remove trailing blank line in category_identity.go and fix struct field alignment in category_storage.go Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9599283 commit 2f01736

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

extension/encoding/azureencodingextension/internal/unmarshaler/logs/category_identity.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,3 @@ func (id *azureIdentityBase) PutIdentityAttributes(attrs pcommon.Map) {
123123
}
124124
}
125125
}
126-

extension/encoding/azureencodingextension/internal/unmarshaler/logs/category_storage.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ const (
4949

5050
// storageAuthorizationEntry represents a single authorization decision in Storage logs
5151
type storageAuthorizationEntry struct {
52-
Action string `json:"action"`
53-
RoleAssignmentID string `json:"roleAssignmentId"`
54-
RoleDefinitionID string `json:"roleDefinitionId"`
55-
DenyAssignmentID string `json:"denyAssignmentId"`
56-
Type string `json:"type"`
57-
Result string `json:"result"`
58-
Reason string `json:"reason"`
59-
Principals []struct {
52+
Action string `json:"action"`
53+
RoleAssignmentID string `json:"roleAssignmentId"`
54+
RoleDefinitionID string `json:"roleDefinitionId"`
55+
DenyAssignmentID string `json:"denyAssignmentId"`
56+
Type string `json:"type"`
57+
Result string `json:"result"`
58+
Reason string `json:"reason"`
59+
Principals []struct {
6060
ID string `json:"id"`
6161
Type string `json:"type"`
6262
} `json:"principals"`

0 commit comments

Comments
 (0)