mirror of
https://github.com/paralus/paralus.git
synced 2026-08-24 15:47:19 +00:00
removed scheduling from codeql and fixed an alert
This commit is contained in:
@@ -17,8 +17,6 @@ on:
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ "main" ]
|
||||
schedule:
|
||||
- cron: '30 16 * * 0'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
||||
@@ -418,7 +418,11 @@ func (s *clusterService) prepareClusterResponse(ctx context.Context, clstr *infr
|
||||
ModifiedAt: timestamppb.New(c.ModifiedAt),
|
||||
}
|
||||
|
||||
sm, _ := strconv.Atoi(c.ShareMode)
|
||||
smv, _ := strconv.ParseInt(c.ShareMode, 10, 32)
|
||||
if err != nil {
|
||||
_log.Infow("unable to convert value, ", err.Error())
|
||||
}
|
||||
sm := int32(smv)
|
||||
var proxy infrav3.ProxyConfig
|
||||
if c.ProxyConfig != nil {
|
||||
json.Unmarshal(c.ProxyConfig, &proxy)
|
||||
|
||||
Reference in New Issue
Block a user