mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* Define var and and-file flags * vars package * Vars for deploy * Add integration tests for dev * Update dev mock * New devfile library version * Add doc * Fix validate * Review * Apply suggestions from code review Co-authored-by: Parthvi Vala <pvala@redhat.com> * review Co-authored-by: Parthvi Vala <pvala@redhat.com>
16 lines
241 B
Go
16 lines
241 B
Go
package vars
|
|
|
|
import "fmt"
|
|
|
|
type ErrBadKey struct {
|
|
msg string
|
|
}
|
|
|
|
func NewErrBadKey(msg string) ErrBadKey {
|
|
return ErrBadKey{msg: msg}
|
|
}
|
|
|
|
func (e ErrBadKey) Error() string {
|
|
return fmt.Sprintf("poorly formatted environment: %s", e.msg)
|
|
}
|