mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 04:26:20 -04:00
terraform: fix security rule reconciliation on Azure (#3454)
* fix security rule reconciliation on azure * fix simulated patch version upgrade
This commit is contained in:
parent
aa7d47ed5f
commit
54058eed2a
6 changed files with 97 additions and 121 deletions
|
@ -301,10 +301,10 @@ func getCLIPath(cliPathFlag string) (string, error) {
|
|||
pathCLI := os.Getenv("PATH_CLI")
|
||||
var relCLIPath string
|
||||
switch {
|
||||
case pathCLI != "":
|
||||
relCLIPath = pathCLI
|
||||
case cliPathFlag != "":
|
||||
relCLIPath = cliPathFlag
|
||||
case pathCLI != "":
|
||||
relCLIPath = pathCLI
|
||||
default:
|
||||
return "", errors.New("neither 'PATH_CLI' nor 'cli' flag set")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue