fix: golangci lint
Signed-off-by: nelson.parente <nelson_parente@live.com.pt>
This commit is contained in:
parent
704a4b1908
commit
b3d2ad1e54
|
@ -479,7 +479,7 @@ func (g *GCPStorage) bulkGet(ctx context.Context, req *bindings.InvokeRequest) (
|
|||
data = []byte(encoded)
|
||||
}
|
||||
|
||||
if err := os.WriteFile(destPath, data, 0o644); err != nil {
|
||||
if err := os.WriteFile(destPath, data, 0600); err != nil {
|
||||
errCh <- err
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue