Skip to content

Commit 416cf38

Browse files
committed
add SkipChmodAfterUpload to marshal if for SFTP config
1 parent 279bb3b commit 416cf38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/service/model_upload.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ func (cfg *SFTP) MarshalJSON() ([]byte, error) {
169169
MaxPacketSize int
170170

171171
SkipDirectoryCreation bool
172+
SkipChmodAfterUpload bool
172173
}
173174
return json.Marshal(Aux{
174175
Hostname: cfg.Hostname,
@@ -184,6 +185,7 @@ func (cfg *SFTP) MarshalJSON() ([]byte, error) {
184185
MaxPacketSize: cfg.MaxPacketSize,
185186

186187
SkipDirectoryCreation: cfg.SkipDirectoryCreation,
188+
SkipChmodAfterUpload: cfg.SkipChmodAfterUpload,
187189
})
188190
}
189191

0 commit comments

Comments
 (0)