mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
command/push: no version on GET should be okay
This commit is contained in:
parent
19c1771438
commit
86f92119e2
@ -231,7 +231,12 @@ func (c *atlasPushClient) Get(name string) (map[string]string, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return version.Variables, nil
|
||||
var variables map[string]string
|
||||
if version != nil {
|
||||
variables = version.Variables
|
||||
}
|
||||
|
||||
return variables, nil
|
||||
}
|
||||
|
||||
func (c *atlasPushClient) Upsert(opts *pushUpsertOptions) (int, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user