Skip to content

Commit 14f1190

Browse files
committed
lint fix
1 parent ae7fa14 commit 14f1190

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

internal/file/file_manager_service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ func (fms *FileManagerService) handleExternalFileDownload(ctx context.Context, f
819819
if contentToWrite == nil {
820820
slog.DebugContext(ctx, "External file unchanged (304), skipping disk write.",
821821
"file", fileAction.File.GetFileMeta().GetName())
822+
822823
return nil
823824
}
824825

internal/model/config.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ type ManifestFileMeta struct {
4141
Name string `json:"name"`
4242
// The hash of the file contents sha256, hex encoded
4343
Hash string `json:"hash"`
44+
// ETag of the 3rd Party external file
45+
ETag string `json:"etag"`
46+
// Last modified time of the 3rd Party external file
47+
LastModified string `json:"last_modified"`
4448
// The size of the file in bytes
4549
Size int64 `json:"size"`
4650
// File referenced in the NGINX config
4751
Referenced bool `json:"referenced"`
4852
// File is not managed by the agent
4953
Unmanaged bool `json:"unmanaged"`
50-
// ETag of the 3rd Party external file
51-
ETag string `json:"etag"`
52-
// Last modified time of the 3rd Party external file
53-
LastModified string `json:"last_modified"`
5454
}
5555
type ConfigApplyMessage struct {
5656
Error error

0 commit comments

Comments
 (0)