mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-19 03:39:32 -04:00
Update validargs.go
This commit is contained in:
parent
9c5590bbce
commit
fde7304d78
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import (
|
||||||
func warnAWS(providerPos int) cobra.PositionalArgs {
|
func warnAWS(providerPos int) cobra.PositionalArgs {
|
||||||
return func(cmd *cobra.Command, args []string) error {
|
return func(cmd *cobra.Command, args []string) error {
|
||||||
if cloudprovider.FromString(args[providerPos]) == cloudprovider.AWS {
|
if cloudprovider.FromString(args[providerPos]) == cloudprovider.AWS {
|
||||||
return errors.New("AWS isn't supported")
|
return errors.New("AWS isn't supported by this version of Constellation")
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue